<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 25/08/2013 12:45, Lester Anderson
wrote:<br>
</div>
<blockquote
cite="mid:CAE3taFAevQKXp35r5e+gSd-Ty9ZFoX5YXDz-iQE4VE36tdPU5A@mail.gmail.com"
type="cite">
<pre wrap="">Hi all,
I am attempting to code up a Mathcad file into Scilab and it should be
straightforward, but for some reason it is not working as it should. And
checking the variable values, some are still complex as output from the
fft/ifft runs - the inputs look right as far as I can see.</pre>
</blockquote>
I cannot open the prn files and it's thus difficult for me to check
your data.<br>
What do you mean by still complex?<br>
When you run fft or ifft on a real dataset, the output is complex,
that's to be expected.<br>
Maybe (it's just a wild guess) you ended up with complex values that
have an imaginary part that is zero.<br>
Scilab still consider these values to be complex.<br>
<br>
Antoine<br>
<blockquote
cite="mid:CAE3taFAevQKXp35r5e+gSd-Ty9ZFoX5YXDz-iQE4VE36tdPU5A@mail.gmail.com"
type="cite">
<pre wrap="">
If someone can see what the issue is and a solution, that would be great.
Attached my quick attempt at converting the Mathcad code (see PDF) and the
input profile data (*.prn files)
Cheers
Lester
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a></pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>