To talk on Icrontic, just register!

It only takes 30 seconds.

Have an account? Sign in:

Forgot?
ldelgad8
Icrontic Convert
ldelgad8
15 Posts

Editor error

I am new to Matlab (student) and I am trying to run this (below) in the command window after typing it as an M-file.

n=25;


a = round(linspace(1000,9999,n));

b=round(randn(n,1)*17+68);

c=round(randn(n,1)*15+75);

d=round(randn(n,1)*19+82);

Do you have any suggestions for this isn't running. It keeps giving me an error about an illegal input?

Thank you,
ld
shwaip
elaborate bot
shwaip
5,730 Posts
i don't see any problem. if you could attach your .m file, then maybe i could get the same error...
__________________ my photostream for ic photography challenge

Anyone who wants dropbox, please use my referral link
pbutter
New to the neighborhood
pbutter
2 Posts
I don't see any problems, what version of MATLAB are you running?
ldelgad8
Icrontic Convert
ldelgad8
15 Posts
I'm running v7 student edition, it seems to work sometimes. I might mention when I try to print from the editor, the editor hangs.
Go Back   Icrontic Forums > Tech: Software > General Software > Matlab Help
Jump to
This Thread Search this Thread
Search this Thread:

Advanced Search


Current time: 9:14am (GMT)
Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Get Vanilla instead. Trust me.