Hi,
I am writing a program which needs satisfying 4 conditions for doing other
operations. I mean I should write a while loop which should continue
unless all conditions are false. But as I found writing a line like this
"while tol(:,:,2)>=err(:,:,2) & tol(:,:,3)>=err(:,:,3)&
tol(:,:,4)>=err(:,:,4)"
can't help me which will exit the loop when the first expression is
false!
Can anyone here help me?
All the best,
Zahra :D
Reply by arkkimede●July 5, 20072007-07-05
if the graph is obtained
f -> frequency
H -> spectrum
plot(f,abs(H));
reH = real(H);
imH = imag(H);
data = [reH; imH] --> here verify if you have 2 colon or tu row and if
necessary use the transport operator ( [reH; imH]'
save data_file_fft.dat data -ascii
In data_file.dat you will have the data in editable format
On 7/3/07, d...@mail.rochester.edu wrote: >
> i know this is a simple thing and im gonna get s**t for asking, but
i've
> been searching the internet for an hour and i cant find an answer.
>
> i have a graph of an fft and i want to save the data points to a csv
> file(or some other editable file). how do i do it?
>
>
Reply by dhea...@mail.rochester.edu●July 4, 20072007-07-04
i know this is a simple thing and im gonna get s**t for asking, but i've
been searching the internet for an hour and i cant find an answer.
i have a graph of an fft and i want to save the data points to a csv file(or
some other editable file). how do i do it?