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

ongeveer 5 jaar ago | 0

| accepted

Submitted

FFT_list.m

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

ongeveer 5 jaar ago | 4 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...

ongeveer 5 jaar 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...

ongeveer 5 jaar 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 ...

ongeveer 5 jaar 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...

ongeveer 5 jaar 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 ...

ongeveer 5 jaar ago | 0 answers | 0

Submitted

Three Phase SVPWM Inverter

Space vector modulation of 3 Phase inverter

meer dan 5 jaar ago | 108 downloads |

Submitted

Z-source DC-DC converter

A novel DC-DC converter using Z-source topology

meer dan 5 jaar ago | 9 downloads |

Submitted

3 Phase SPWM Rectifier

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

meer dan 5 jaar ago | 24 downloads |

Submitted

Full bridge inverter with PWM

MOSFET based full bridge inverter.

meer dan 5 jaar ago | 9 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...

meer dan 5 jaar ago | 1 answer | 0

Submitted

Three Phase SPWM Inverter + LC filter mfile model

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

meer dan 5 jaar ago | 25 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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;...

meer dan 5 jaar 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 ...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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((...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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...

meer dan 5 jaar 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) --> ...

meer dan 5 jaar 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

meer dan 5 jaar 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 ...

meer dan 5 jaar 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...

bijna 6 jaar 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...

bijna 6 jaar ago | 2 answers | 0