Тёмный

Octave Tutorial #3 - Loading, Saving & Using Data 

DrapsTV
Подписаться 66 тыс.
Просмотров 157 тыс.
50% 1

Опубликовано:

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 57   
@KezoN
@KezoN Год назад
8 years later, your video still lives. U helped me so much rn. Thanks alot!
@DrapsTV
@DrapsTV 10 лет назад
Saulo Carvalho It sure is, with the pattern: A = importdata(fname, delimiter, header_rows) The delimiter and header_rows are both optional!
@meteoroman100
@meteoroman100 10 лет назад
Ok. Maybe I'm doing something wrong. This command comes already, isn't it?
@DrapsTV
@DrapsTV 10 лет назад
Saulo Carvalho What are you trying to import? do you get any errors?
@meteoroman100
@meteoroman100 10 лет назад
nope, I just installed octave on my windows, then I've run a m-file made in matlab editor.
@DrapsTV
@DrapsTV 10 лет назад
Saulo Carvalho Ok, I'll check it out tomorrow.
@marmacsix
@marmacsix 7 лет назад
Thank you very much! It started being difficult to understand where this famous "filename" had to be put
@noname-ug2qx
@noname-ug2qx 2 года назад
Hi DrapsTV, saving data part isn't working on my Octave. an error message appears and I can't find the saved data in my file location. Please assist.
@vapourmile
@vapourmile 3 года назад
The hardest thing about this was keeping up with the delivery. I didn't notice the data files are supplied at first because the presenter slurs the through the expression "every video have (has?) all slideshows...". It wasn't until I started again and went through slowly I even caught what he said, and it's a crucial part of the video. I think you need to ensure you pronounce the important things clearly.
@petruspretorius14
@petruspretorius14 5 лет назад
Good day I am struggleling to load a .Csv file into octave with the load function. I have tried the following load ("filename.Csv") load filename.Csv When i use the following i only get some data x = csvread('CanTest.Csv'); What is your advice?
@zeksolina
@zeksolina 5 лет назад
I have the same problem now. Did you solve yours?
@tajmeet
@tajmeet 7 лет назад
Is it possible to save data whilst it is being generated? I have been trying to prepare a matrix which exceeds the 2GB capacity of stable octave - for example when trying to generate a high resolution mandelbrot set I get an error which says that array is too large to index, so I was thinking is its possible to immediately write the obtained data into a file?
@sin3divcx
@sin3divcx 6 лет назад
how can i make my window's background black like yours?
@BettyYLFan
@BettyYLFan 6 лет назад
Hi Draps, thanks for the detailed step guide. However, the saving data part is not working on my Octave. Is it a version related issue? I am using a newer version. Is there another way to save data?
@ghymes1999
@ghymes1999 4 года назад
Thx for the tutorial bro
@Santurista
@Santurista 5 лет назад
I tried to use "addpath" to add a path to my audio database and read a file using "audioread". but, it cannot read the file. If I change the path completely, then the file can be read. Can you (or anyone else) help me make "addpath" work?
@usmansalman438
@usmansalman438 4 года назад
If we have x-axis and y-axis data in .csv file and than how can we find least square line of that data?
@shaktidagar4477
@shaktidagar4477 5 лет назад
can you tell me how to write video data to file.. what is the alternate of these 4 commands in octave v=videoreader('bg.mp4'); readframe(v); videowriter('bg1.avi'); writevideo(newv,k);
@singtechindustries2630
@singtechindustries2630 4 года назад
how to generate .m file and .dat file from text editor like wordpad? thanks
@nitaillass5191
@nitaillass5191 4 года назад
Can someone help me? why does gnu octave always show extract errors during installation?
@arnabroy3737
@arnabroy3737 4 года назад
Hello I am very new in using this Octave. Say I have a .m file and .dat file, and I want to run the .m file in Octave by taking the input data from the .dat file. What is the command use for that ??
@rahimahjofferi3560
@rahimahjofferi3560 6 лет назад
I have saved my data from the octave but I can't open the file from the folder. Is there any specific app you need to have in order to open my file data that have been saved from octave?
@farelnanda1792
@farelnanda1792 5 лет назад
how to save matrix calculations in octave, I don't understand it, please help, thank you
@drallisimo34
@drallisimo34 6 лет назад
cool tut
@carlosfloresspindola9448
@carlosfloresspindola9448 9 лет назад
Hello such was watching your tutorial and it made me very good I just have a different problem, what happens is that I have a whole program already done in Octave, only I have a question, want to know the syntax for the program you can read data from excel and the result also send to excel, not if you know a trick to this, if so I would know if I can share as would you help me much, I leave you my email if you need more details about this greetings solution beforehand thanks
@DrapsTV
@DrapsTV 9 лет назад
Hey mate, I havn't done this personally, however there is the function xlsread(filename, worksheet, range) octave.sourceforge.net/io/function/xlsread.html Good Luck!
@nerinepieterse4141
@nerinepieterse4141 6 лет назад
Hey, I am very new to all this programming and I am uncertain on how to create my own storage folder
@bethelhemlegesse3401
@bethelhemlegesse3401 4 года назад
I have my data on my desktop I want to load on octave and when I try to change my directory to my desktop [cd 'C:\Users\ang\Desktop\'] I get this error no such file or directory. How can I fix this please ?
@alenjose3903
@alenjose3903 4 года назад
did u find a fix?
@raniekawaty5900
@raniekawaty5900 7 лет назад
i tried to load my data from my folder, its an excel data, it keeps saying "error: load: unable to determine file format of 'CODRS-GSL01-20151123.xls' load 2015new" what kind of data can be load to octave anyway? thanks in advanced
@DrapsTV
@DrapsTV 7 лет назад
hey rani, the normal load will only support simple formats like csv (comma separated values) which can be exported/saved from excel. However you can load xls files with the function xlsread(file, sheet, cells_A1notation) the up side is that you can read from different tables. A = xlsread ('CODRS-GSL01-20151123.xls');
@wajdanali1354
@wajdanali1354 6 лет назад
Hi , I love your videos and subscribed to your channel. I have a little problem and it would be very nice if you can point me towards the right direction in solving it I have these .GDF files and the command used for loading them is 'sLoad. I believe we need biosig toolkit for that. If so, then how and if not, then what should I do to import these files Regards'
@MrLuizzzjr
@MrLuizzzjr 9 лет назад
Do you know how or have you ever tried to use a c code in Octave? I am having problems with that.
@DrapsTV
@DrapsTV 9 лет назад
Luiz Antonio Da Silva Jr. You can only call C/C++ functions from octave files. This document covers in quite a lot of detail how you can write C functions that can be linked to ocatave. www.gnu.org/software/octave/doc/interpreter/Getting-Started-with-Oct_002dFiles.html
@MrLuizzzjr
@MrLuizzzjr 9 лет назад
DrapsTV Thank you!
@Muuip
@Muuip 7 лет назад
Trying to load tar.gz fileHow can I load, untar and unzip at the same time?load filename.tar.gz -xzf didn't do it gunzip(filename.tar.gz) does not work eitherI am in the right directoryMany thanks
@elekanyaniliphadzi4943
@elekanyaniliphadzi4943 4 года назад
Ey , thanks for the video...
@phil4000n
@phil4000n 8 лет назад
How do you open UTF8 without BOM text files? How do save into UTF8 without BOM?
@MinhTran-ul2uq
@MinhTran-ul2uq 7 лет назад
it will be great if you can show me how to import excel to gnu octave. I alreday have the io package but still dont know how to use it. thank you!
@mrinalsarthi6321
@mrinalsarthi6321 5 лет назад
same issue.please help
@spinout77
@spinout77 5 лет назад
Can I only load .dat files into octave? I am working on a Mac and want to load .csv-files or .xlsx-files. How can I do that?
@MsGamersplash
@MsGamersplash 4 года назад
do u have an answer yet?? same prob here
@ranjithkumar2989
@ranjithkumar2989 6 лет назад
can u make a video on image processing in octave please..........
@meteoroman100
@meteoroman100 10 лет назад
Is the "importdata" command available in octave?
@awsomeslayer1
@awsomeslayer1 5 лет назад
How can I load .mlx file in Octave? I tried saving it as .m file and then load and read. But I got a syntax error in parsing.
@varsha9094
@varsha9094 4 года назад
did you get it?
@raktimkar685
@raktimkar685 4 года назад
how to draw the curve and numerical simulation ?
@arctictimberwolf
@arctictimberwolf 4 года назад
Listen Buck Wheat, it's "How DERRRR you daw the curve & # situation?" How DERRRR you talk like dat !!! Your grammerrrr sucks pal ~wv^!!^vw~ It's "How do you draw?" or "How do I draw?" Lemme give ya a word of advice, DO NOT LEARN ENGLISH FROM THE BRITISH!!! Because the Brits know not how to speak English. Have a Nice Day!
@phil4000n
@phil4000n 8 лет назад
Super Worhtwile notice, even under Win10, Octave uses forward shlash: for instance cd "f:/sounds" won't work , but well cd "f:\sounds"
@aggsudarwal
@aggsudarwal 8 лет назад
Can I have a column vector that just contains characters?
@DrapsTV
@DrapsTV 8 лет назад
+Sudhansh Aggarwal Sure can! :)
@abelincolnparth
@abelincolnparth 6 лет назад
So I made a two column random file v = rand(5,2) and then stored it by the command save mydata.dat v, then I sent v = [0] and loaded the mydata.dat file into a variable m. Printed out the data included the statement v = along with the data. I just wanted the data into m not the old variable name also.
@VinodKumar-pj6jk
@VinodKumar-pj6jk 6 лет назад
Good
@RooseveltTruong
@RooseveltTruong 8 лет назад
No such directory E:\OctData
@SamVidovich
@SamVidovich 8 лет назад
You have to make your own directory and go to it.
@ardeshirmehr5221
@ardeshirmehr5221 Год назад
😔😔😔
@mikhaelm
@mikhaelm 5 лет назад
How I save with a line break?
Далее
Octave Tutorial #4 - Plotting Data
25:48
Просмотров 158 тыс.
Saving and loading in pygame with json
25:23
Просмотров 29 тыс.
Octave: File Reading and Processing Example
18:31
Просмотров 1,5 тыс.
Exploring Octave package dataframe
49:51
Просмотров 1,7 тыс.
Octave Tutorial #2 - Basic Operation
15:37
Просмотров 195 тыс.
GnU Octave xlsread and xlswrite
6:35
Просмотров 18 тыс.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Просмотров 208 тыс.