The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: saving the variables in for loop
Replies: 1   Last Post: Dec 9, 2012 8:48 PM

Advanced Search

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

Posts: 2
Registered: 12/2/12
saving the variables in for loop
Posted: Dec 8, 2012 6:19 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

plz i have this code
for i=1:26
imFilename = sprintf('DB/%d.jpg', i);
[im , des , loc ] = sift(imFilename,i);
and i need for each iteration , the output is saved likes "im1 des1 loc1 for the first saved file and im2 des2 loc2 for the secon saved file... " by function save ('filename.mat') but i need it for each "i"

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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.