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...

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...

más de 8 años ago | 0

| accepted

Submitted

FFT_list.m

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

más de 8 años ago | 6 downloads |

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...

más de 8 años ago | 1 answer | 0

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...

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...

más de 8 años 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 ...

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 ...

más de 8 años 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...

más de 8 años ago | 1 answer | 0

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 ...

más de 8 años ago | 0 answers | 0

Submitted

Three Phase SVPWM Inverter

Space vector modulation of 3 Phase inverter

más de 8 años ago | 27 downloads |

Submitted

Z-source DC-DC converter

A novel DC-DC converter using Z-source topology

más de 8 años ago | 4 downloads |

Submitted

Full bridge inverter with PWM

MOSFET based full bridge inverter.

más de 8 años ago | 6 downloads |

Submitted

3 Phase SPWM Rectifier

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

más de 8 años ago | 8 downloads |

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...

más de 8 años ago | 1 answer | 0

Submitted

Three Phase SPWM Inverter + LC filter mfile model

Simulation of a 3phase pwm inverter & LC filter(ideal components)

más de 8 años ago | 13 downloads |

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...

más de 8 años ago | 1 answer | 0

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...

casi 9 años ago | 1 answer | 0

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;...

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;...

casi 9 años 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 ...

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 ...

casi 9 años 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...

casi 9 años ago | 3 answers | 0

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...

casi 9 años ago | 0 answers | 0

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...

casi 9 años ago | 1 answer | 0

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((...

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((...

casi 9 años 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...

casi 9 años ago | 3 answers | 0

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...

casi 9 años ago | 1 answer | 0

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...

casi 9 años ago | 1 answer | 0

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) --> ...

casi 9 años ago | 3 answers | 0

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

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

casi 9 años 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 ...

casi 9 años ago | 2 answers | 0

Answered

Symbolic equation with numeric variable

Subs method worked. Alternatively you can define the eqn without quotation (') marks. Therefore following code is also co...

Symbolic equation with numeric variable

Subs method worked. Alternatively you can define the eqn without quotation (') marks. Therefore following code is also co...

alrededor de 9 años 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...

alrededor de 9 años ago | 2 answers | 0