Pregunta


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

casi 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

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

más de 10 años hace | 1

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

más de 10 años hace | 0

Pregunta


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

más de 10 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

más de 10 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

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

más de 10 años hace | 0

Pregunta


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

más de 10 años hace | 3 respuestas | 0

3

respuestas

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

más de 10 años hace | 3 respuestas | 0

3

respuestas

Respondida
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

más de 10 años hace | 0

| aceptada

Pregunta


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

más de 10 años hace | 2 respuestas | 0

2

respuestas

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

más de 10 años hace | 0

Pregunta


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

más de 10 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Obtaining fundamental frequency wave from a PWM signal
Hi, Is there a way to get harmonic waves extracted from a signal. Say if I have a square wave I want to extract and plot 3 sin...

más de 10 años hace | 1 respuesta | 0

1

respuesta