Recent content by JeroenS
-
J
MATLAB Matlab - writing data to .xy files
I have a student version of MATLAB called r2009 I did use curly brackets instead of parentheses so that is a mistake in my code written here. Furthermore, files.name indeed gives the full name so when i use the save command and add the extension .xy with cEXT{1,1} then it returns name.sp.xy...- JeroenS
- Post #6
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
J
MATLAB Matlab - writing data to .xy files
I've been able to implement it and it works! The only thing now is that i load all the files with: files = dir('Input\*.sp'); and then recall the names of the files with: files(j).name. In this case the names of the files include the extension .sp. so when i later save the file like...- JeroenS
- Post #4
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
J
MATLAB Matlab - writing data to .xy files
It was indeed a bit difficult to describe my problem but this is what i was looking for. I am pretty sure that i can fit this in my code. Thanks!- JeroenS
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
J
MATLAB How can I save all values for v_max in MATLAB when n ranges from 5 to 10?
probably the best way is to store them in a vector. You define a vector called v_max with a length equal to the amount of values, in your case that is 6: v_max=[1:6]; then you can store each value in one of the positions of the maxtrix like: for n=5:1:10 v_max(1,n-4) =...- JeroenS
- Post #2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
J
MATLAB Matlab - writing data to .xy files
for a project i have to open, edit and save a varying amount of files. I use a MATLAB code for this. It works fine and imports all the .sp files in the directory with the fopen() command. The only problem i still have is that i also want to change the extension of the files. Right now i use...- JeroenS
- Thread
- Data files Matlab Writing
- Replies: 5
- Forum: MATLAB, Maple, Mathematica, LaTeX