12-19-2008 08:53 AM
hi all
i want to write complex number to a file....how i want to do....
12-19-2008 08:55 AM - edited 12-19-2008 08:56 AM
12-19-2008 10:25 AM
hello smercurio_fc :
i want to write the complex number to the file. example : 2+i3 ..... i want to read the data in matlab using the command load . i should read like 2+i3 ...
12-19-2008 10:37 AM - edited 12-19-2008 10:40 AM
If you want to write to a formatted text file, a plain %f format will give you "xxx + yyy i" (works with e.g. format into string, array to spreadsheet file, etc).
If you want to have the i in front of the imaginary parts without spacing, you need to split the real and imaginary parts and do your own formatting.
What does matlab actually want?
02-28-2013 01:37 AM
Hello there,
I followed your reply but i can't seem to find the blocks from their image. If you may pass the names of the blocks?
Regards,
02-28-2013 08:45 AM
They are Format into String, and Array to Spreadsheet String