Triggered pulse generator with two inputs
With the few possibilities of A and B mentioned, the logic looks like SR flip flops. Incase your logic matches with SR Flip Flop...

environ un an ago | 0

Plotting grapf of heat exchanger
The plot(c(:,1), c(:,3)) considers the first value of c(:,1) as x coordinate and first value of c(:,3) as the y coordinate and ...

environ un an ago | 0

How to use For loop
Expressions like a<b<c are interpreted as (a<b)<c which turns out to compare the logical result from a<b (either 0 or 1) with c....

environ un an ago | 0

A digital code has more than one distinct set of corresponding analog values. This is often caused by initial conditions.
The error is self-explanatory considering the function. The function takes analog signal value, digital code value, analog dynam...

plus d'un an ago | 0

LTE DLSCH Decode - HARQ issue
Let us assume STATEIN to be the input argument and STATEOUT as output from the lteDLSCHDecode function for clarity. The STATEIN ...

plus d'un an ago | 0

| accepted

How can I generate time shifted Dirac delta function(impulse response)?
You can generate a time shifted dirac delta function by using the dirac function. Assuming the time shift to be a value ‘a’, dir...

plus d'un an ago | 0

Parity Check Matrix Generation for 5G LDPC
The nrLDPCEncode gets the input data matrix and the base graph number as its arguments. You were right about the association of ...

plus d'un an ago | 0

Simulations with undefined variables
You can save the variable to the base workspace by using the To Workspace block or by using the Data import/export option in the...

plus d'un an ago | 0

Plotting A Waveform With Various Inputs
Few of the inputs mentioned are common to sine, square and triangular wave and some are specific. I am not sure of what exactly ...

plus d'un an ago | 0

Why am I getting "Unrecognized function or variable 'EM'."?
My initial analysis indicates this error was because the function ‘EM’ is not defined either as a local function nor as a Matlab...

plus d'un an ago | 0

when saving the figure ,the color made by stem function will change
Hello Zen, Looks like your .png/.jpeg file still holds the same color. Try changing the linewidth property and use the marker p...

plus d'un an ago | 0

Simulink: How to hold a if conditional over a period of time
For an easy solution you can use Stateflow and create two states OFF and ON. Get the input SOC and check if it is greater than 8...

plus d'un an ago | 0

Is there a tool for copying equations from, say, the MATLAB documentation into a .m file?
Hello Keenan, You cannot find the M file of the ‘Induction motor’ Simulink Block. You can find the subsystem blocks of it by ri...

plus d'un an ago | 0

Arduino Support from MATLAB Not Installing
My initial analysis indicates this crash was the result of a known issue. You can refer to the following question for resolution...

plus d'un an ago | 0

Probabiliy Distributions in 3-D
You can use the surf function to create a 3D surface plot. This function lets you have an interactive 3D plot where you can have...

plus d'un an ago | 0

| accepted

Why does MATLAB crash when plotting?
My initial analysis indicates this crash was the result of a known issue. You can refer to the following question for resolution...

plus d'un an ago | 0

Sample a waveform at rate of 1pico second
Based on the information you have shared; I believe you acquired the waveform by plotting a workspace variable. Then it should c...

plus d'un an ago | 0

NR PDSCH Throughput example SISO and MISO
The error “Expected Input to be Finite” occurs when the input contains non-finite value(s). In this case the equalizer output pd...

plus d'un an ago | 0

| accepted