Rank: Member Groups: Registered
Joined: 13/05/2021(UTC) Posts: 12 Location: MEDELLIN
|
is it possible to import a file in txt to the smath and organize it by columns and rows???
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: Marcela T is it possible to import a file in txt to the smath and organize it by columns and rows??? If you mean a comma separated file (csv), yes it is possible with importData().
|
|
|
|
Rank: Member Groups: Registered
Joined: 13/05/2021(UTC) Posts: 12 Location: MEDELLIN
|
I allow your instrruccions, i dont know if i am doing ok, the name of the file is "ppp" and it shows me in the smath studio thats it is not reconized.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
If you could provide your file, it would be easier to check and input correct delimiters. If you don't want to, just put a couple of lines. It can help to determine the function values. Regards Edited by user 17 June 2021 21:55:51(UTC)
| Reason: Not specified
|
|
|
|
Rank: Member Groups: Registered
Joined: 13/05/2021(UTC) Posts: 12 Location: MEDELLIN
|
this it is the file, thanks for your help ppp.txt (169kb) downloaded 26 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: Marcela T this it is the file, thanks for your help ppp.txt (169kb) downloaded 26 time(s). You should write "ppp.txt" where you indicate your file. You also just have to delete the first line from your data file. It creates conflict between your function and data. Data it provides don't match pattern of function. So in result data can't be read. Check below.
PS: martin is also right about getting partial data down below. Edited by user 18 June 2021 00:17:11(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 15/04/2012(UTC) Posts: 1,986 Was thanked: 1124 time(s) in 721 post(s)
|
You can access differently formatted sections by reading them separately. import.sm (5kb) downloaded 16 time(s). |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.