Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Marcela T  
#1 Posted : 17 June 2021 18:16:00(UTC)
Marcela T


Rank: Member

Groups: Registered
Joined: 13/05/2021(UTC)
Posts: 12
Woman
Colombia
Location: MEDELLIN

is it possible to import a file in txt to the smath and organize it by columns and rows???

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline overlord  
#2 Posted : 17 June 2021 19:49:55(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,125
Turkey

Was thanked: 506 time(s) in 337 post(s)
Originally Posted by: Marcela T Go to Quoted Post
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().

2021-06-17_19-42.png
Offline Marcela T  
#3 Posted : 17 June 2021 21:39:09(UTC)
Marcela T


Rank: Member

Groups: Registered
Joined: 13/05/2021(UTC)
Posts: 12
Woman
Colombia
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.

smath.PNG
Offline overlord  
#4 Posted : 17 June 2021 21:49:26(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,125
Turkey

Was thanked: 506 time(s) in 337 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

Offline Marcela T  
#5 Posted : 17 June 2021 22:18:48(UTC)
Marcela T


Rank: Member

Groups: Registered
Joined: 13/05/2021(UTC)
Posts: 12
Woman
Colombia
Location: MEDELLIN

this it is the file, thanks for your help


ppp.txt (169kb) downloaded 23 time(s).
Offline overlord  
#6 Posted : 17 June 2021 22:27:20(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,125
Turkey

Was thanked: 506 time(s) in 337 post(s)
Originally Posted by: Marcela T Go to Quoted Post
this it is the file, thanks for your help


ppp.txt (169kb) downloaded 23 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

Offline mkraska  
#7 Posted : 17 June 2021 23:12:18(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,980
Germany

Was thanked: 1120 time(s) in 718 post(s)
You can access differently formatted sections by reading them separately.

import.png
import.sm (5kb) downloaded 15 time(s).
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Users browsing this topic
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.