Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

The 'From Workspace' block in Simulink.

Status
Not open for further replies.

Senac

Computer
Nov 10, 2000
2
I generated the variables: t=[0:0.1:10] and u=sin(t) in Matlab Workspace. Later, when using the From Workspace block in Simulink I put these to variables as [t,u] and I connect this block to a Scope, I do not see a sine plot, but a set of lines. Why?
 
Replies continue below

Recommended for you

Your function is incomplete, you have u=sin(t) for t=0-10 by .1 increments. Use your calculator to find out the sine of 0, and 10. See what you get. If you want to see the sine curve, plot it from 0 ro 2pi or some interval thereof.

Edson Campos
edsoncampos@earthlink.net

 
hello, I am sstuden of colombia, I looking about simulation of fiber optic in matlab. I wolud like to have information about this ,


thank

jorge
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor