MATLAB Issue

  • MATLAB
  • Thread starter physicsCU
  • Start date
  • #1
202
1

Main Question or Discussion Point

Hey guys,

Is there anyone good with MATLAB for loops? I am having trouble with getting an embedded loop within another loop to work.

I am trying to vary two parameters and create a surface plot with a third variable as the dependant.

What I really need help with is how to get the LHS of my statements correct. I will post my code later tonight, its on another computer, but if anyone has a good site to help me out in the mean time, that would be great.

Thanks!!!
 

Answers and Replies

  • #2
182
0
Er, what error are you getting?
 
  • #3
202
1
Its not an error perse, its just that i get a line in 3d space, when i should be getting a surface plot, because two variables are being varied at all points.
 

Related Threads on MATLAB Issue

  • Last Post
Replies
4
Views
809
  • Last Post
Replies
0
Views
6K
  • Last Post
Replies
0
Views
2K
Replies
5
Views
703
  • Last Post
Replies
5
Views
3K
  • Last Post
Replies
1
Views
758
Replies
3
Views
5K
Replies
1
Views
769
Replies
0
Views
1K
Replies
2
Views
9K
Top