Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • 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
Joined
Nov 10, 2000
Messages
2
Location
ES
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?
 
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

Back
Top