Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: problem with load
Replies: 1   Last Post: Sep 22, 2010 4:38 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Janani Chander

Posts: 3
Registered: 9/22/10
problem with load
Posted: Sep 22, 2010 3:10 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I am trying to load a file whose name is storesd as a string, But when i try to load it it gives me an error.
Down below 's' is a string which contains the filename
function []=graph(s)
a=s
load('a');
x = a(:,1)
y = a(:,2)
plot(x,y,'Linestyle,'--',LineWidth',2,'MarkerEdgeColor','m','MarkerFaceColor','g','MarkerSize',10)
ylabel('energy per bond'); % add axis labels and plot title
xlabel('no of sites');
title('DMRG for heisenberg model');
end


Date Subject Author
9/22/10
Read problem with load
Janani Chander
9/22/10
Read Re: problem with load
Matt J

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.