Answered
How to reset a signal to zero after certain intervals in simulink?
You need to create an external reset signal checking the acceleration zero instances. Then double click on integrator parameter...

10 years ago | 0

| accepted

Submitted


FFT_list.m
Performs a FFT analysis for a signal and lists the magnitudes and phase values.

10 years ago | 4 downloads |

Thumbnail

Question


text to column conversion
Hi, I have a cell array and I'm seeking to separate two words and save them in 2 columns. say the original cell array is tags...

10 years ago | 1 answer | 0

1

answer

Answered
How do I use power_fftscope for batch mode?
The steps are as follow.If you have ScopeData in your workspace as "ScopeData3" % Exporting signal data to fftscope FF...

10 years ago | 0

| accepted

Answered
passing strings to a function to call commands
I figured it out for a certain extent. function logdata2=(A) % logvar={'Vdc','I_L'}; % pass this to the ...

10 years ago | 0

Question


passing strings to a function to call commands
I'd like to create a function to automate the passing variable names to statement. I tried to create a function to achieve it u...

10 years ago | 1 answer | 0

1

answer

Question


Parfor loop for simulink
HI, I'm trying to run a simulink model from parfor loop. However the output generated from the loop seems to be identical when ...

10 years ago | 0 answers | 0

0

answers

Submitted


Three Phase SVPWM Inverter
Space vector modulation of 3 Phase inverter

10 years ago | 42 downloads |

Thumbnail

Submitted


Z-source DC-DC converter
A novel DC-DC converter using Z-source topology

10 years ago | 11 downloads |

Thumbnail

Submitted


Full bridge inverter with PWM
MOSFET based full bridge inverter.

10 years ago | 16 downloads |

Thumbnail

Submitted


3 Phase SPWM Rectifier
Three phase rectifier, with sinusoidal Pulse width modulation. (3 leg MOSFET based)

10 years ago | 22 downloads |

Thumbnail

Question


Plotting data of a 3x1xn array
Hi, I saved data of a simulation in to a 3x1xn cell array. How can I plot each 3x1 instance Vs time. At the moment I manually...

10 years ago | 1 answer | 0

1

answer

Submitted


Three Phase SPWM Inverter + LC filter mfile model
Simulation of a 3phase pwm inverter & LC filter(ideal components)

10 years ago | 31 downloads |

Thumbnail

Question


calculate output(y) from a state space model
I have defined a first order system in state space. How can I calculate Y matrix, if X matrix known X'=Ax+Bu; Y=Cx; I at...

10 years ago | 1 answer | 0

1

answer

Question


using a variable in simulink function
I have a user defined function in simulink. I need to use a global variable from simulink work space. How can access the simu...

10 years ago | 1 answer | 0

1

answer

Answered
Create a Step Sine wave
This Code produce a symmetric quasi square wave. Any ideas to change the number of steps to 6, instead of 3. To=0.02;...

10 years ago | 1

Answered
Create a Step Sine wave
The stairs() doesn't produce a symmetric wave. I need a 3 level symmetric wave like <http://imgur.com/FPtDiTb> That's why ...

10 years ago | 0

Question


Create a Step Sine wave
Hi, I intend to create a square shaped step sine wave. At the moment I approach this problem by defining a sample time. Howev...

10 years ago | 3 answers | 0

3

answers

Submitted


3 Phase Inverter
DC-AC PWM inverter

10 years ago | 101 downloads |

Thumbnail

Question


Export Power Gui FFT analysis results
I have performed FFT analysis to a simulink model using the simpower gui. Following is the output I obtain. http://imgur.com...

10 years ago | 0 answers | 0

0

answers

Question


plotting fundamental wave from a square wave
Hi,I have a simulink file and have exported the scopedata into workspace. Now the output of the scope is a square. The object...

10 years ago | 1 answer | 0

1

answer

Answered
simple loop option to reduce code
figured it out T=0.25; t1=-3*T/12:.001:T/12; Time(1,:)=t1; for r=2:6 Time(r,:)=Time((r-1),end):.001: Time((...

10 years ago | 0

Question


simple loop option to reduce code
Hi, Can anyone suggest a neat way to simply the following code. T=0.25; t1=-3*T/12:.001:T/12; t2=t1(end):.001: t1...

10 years ago | 3 answers | 0

3

answers

Question


repmat() introduces an unnecessary phase shift
Hi, I used repmat command to create a periodic waveform. However I noticed repmat() introduces a phase shift of one element i...

10 years ago | 1 answer | 0

1

answer

Question


Triangular wave form plot
Hi, I'm trying to generate a 140Hz triangular wave. Following code produce the correct plot up to 100HZ. Once I enter the val...

10 years ago | 1 answer | 0

1

answer

Question


periodic function with n cycles
Hi, I need to create a periodic function and plot it. F(x)=sqrt(3) + *Sin(t -2*pi/3) --> 0<t<pi/3 F(x)=Sin(t) --> ...

10 years ago | 3 answers | 0

3

answers

Answered
Simulink - Triangular wave form simulation
I got it working. As suggested updated to fixed step (1/(1000*20)) and selected the solver to discrete. thanks

10 years ago | 0

| accepted

Question


Simulink - Triangular wave form simulation
Hi, I'm trying to generate simple triangular wave and connect the output to a scope. I used the repeating sequence block and ...

10 years ago | 2 answers | 0

2

answers

Answered
Symbolic equation with numeric variable
Subs method worked. Alternatively you can define the eqn without quotation (') marks. Therefore following code is also co...

10 years ago | 0

Question


Symbolic equation with numeric variable
Is it possible to use a numeric variable(in this case "alfa") in a symbolic equation. I'm trying to solve the symbolic q. I n...

10 years ago | 2 answers | 0

2

answers

Load more