What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Little help with MATLAB

Little help with MATLAB
Author: Message:
Chancer
Senior Member
****

Avatar

Posts: 648
Reputation: 7
35 / Male / Flag
Joined: May 2005
Status: Away
O.P. Little help with MATLAB
Has anyone ever used MATLAB?

I have a matrix of electric potentials values, and used contour to draw equipotential lines. Just fine. Now, I need to draw the current lines, which are perpendicular to the equipotential lines.
[Image: attachment.php?pid=993326]
I draw these 3 lines using paint, that's why it sucks, but I think you can understand.
Using quiver was very close to what I need, but it plots arrows, instead of lines.

.gif File Attachment: equip.gif (25.08 KB)
This file has been downloaded 869 time(s).
04-29-2010 11:21 PM
Profile E-Mail PM Find Quote Report
Chancer
Senior Member
****

Avatar

Posts: 648
Reputation: 7
35 / Male / Flag
Joined: May 2005
Status: Away
O.P. RE: Little help with MATLAB
Nevermind.

I defined:

MATLAB code:
[DX, DY] = gradient(m) %m is the matrix.
streamslice(DX, DY);

[Image: attachment.php?pid=993328]

.gif File Attachment: equip.gif (32.76 KB)
This file has been downloaded 822 time(s).

This post was edited on 04-30-2010 at 12:03 AM by Chancer.
04-30-2010 12:00 AM
Profile E-Mail PM Find Quote Report
Chris4
Elite Member
*****

Avatar

Posts: 4461
Reputation: 84
33 / Male / Flag
Joined: Dec 2004
RE: Little help with MATLAB
I started using it, but not that advanced.
Twitter: @ChrisLozeau
04-30-2010 10:49 AM
Profile PM Find Quote Report
Chancer
Senior Member
****

Avatar

Posts: 648
Reputation: 7
35 / Male / Flag
Joined: May 2005
Status: Away
O.P. RE: Little help with MATLAB
Advanced? I started last week...
05-01-2010 01:25 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On