Create tab demlimited data file (notepad) using Smath

Create tab demlimited data file (notepad) using Smath - 消息

#1 已发布: 2020/2/22 10:23:14
Jaivishnu

Jaivishnu

0个赞,共6个帖子。

组: User

Hi
I wanted to know if it is possible to create tab delimited data file (.txt) using Smath. Txt Data file should contain different columns of a computed matrix in Smath
#2 已发布: 2020/2/22 12:15:25
sergio

sergio

127个赞,共342个帖子。

组: User

try "Data exchange" plugin

sergio
#3 已发布: 2020/2/23 11:55:44
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

More generally from long times ago, universal data exchange is *.dat
#4 已发布: 2020/2/24 21:02:38
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

I wanted to know if it is possible to create tab delimited data file (.txt) using Smath. Txt Data file should contain different columns of a computed matrix in Smath


1. Copy the matrix data
2. Paste in NotePad

3. Select all in NotePad, copy
3. Paste back in Smath New:= paste

What is Tab Delimited data ?
#5 已发布: 2020/2/25 10:26:17
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

mat(1,2,3,2,4,6,3,6,9,3,3)

copy, paste in Smath assigned argument [mymatrix]
mymatrix:=

Under the hood, spooling to file is
mat(1,2,3,2,4,6,3,6,9,3,3)
#6 已发布: 2020/2/25 12:12:45
Martin Kraska

Martin Kraska

1,362个赞,共2,276个帖子。

组: Moderator

You can use ExportData.CSV() from the DataExchange plugin. It doesn't generate tab-delimited files. If really needed, you can replace the commas by tabs using some script or filter command.

exportData.CSV.sm (23.29 KiB)已下载 1129 次。
exportData1.png
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
  • 有新帖
  • 无新帖