提问


loop to read files
I have data_2010.csv, data_2011.csv,... in the same directory. I want to write a loop like for i=2010:1:2020 (table data_i...

5 years 前 | 1 个回答 | 0

1

个回答

提问


read spreadsheet, delete some variables, and save the spreadsheet
I have a spreadsheet 'test.csv' with the columns date temperature number_of_deadlines I read this spreadsheet with readtable, ...

5 years 前 | 2 个回答 | 0

2

个回答

提问


merge two columns into one, Part 2
I have a speadsheet with column A and B look like A B NaN 1 1 NaN 2 NaN NaN 3 Then I want to create a...

5 years 前 | 1 个回答 | 0

1

个回答

提问


reading a table: column name
I created a csv file morning afternoon 1 0 0 2 I read it using readtable and then type morning then I got...

5 years 前 | 1 个回答 | 0

1

个回答

提问


merge two columns into one
I have a speadsheet with column A and B look like A B 0 1 1 0 2 0 0 3 Then I want to create a column ...

5 years 前 | 1 个回答 | 0

1

个回答

提问


merge two csv files with a key
I have two csv files. One file has date and temperature. Anothe file has date and rainfall. I want to combine two files using da...

5 years 前 | 1 个回答 | 0

1

个回答

提问


reading multiple xml files into one data
I have multiple xml files data1.xml, data2. xml,... Each xml file has entries of date and temperature. Then I want to read and c...

5 years 前 | 0 个回答 | 0

0

个回答

提问


read text and put it in the title
I want to have a text as an input of a function test.m such that function test(x,y,title_number, title_name) plot(x,y) end S...

5 years 前 | 1 个回答 | 0

1

个回答

提问


Nested list in Matlab Livescript
Is it possible to have a nested list in Matlab Livescript? https://stackoverflow.com/questions/43142671/nested-list-in-live-scr...

5 years 前 | 1 个回答 | 4

1

个回答

提问


Error message: Name is nonexistent or not a directory
When I opened Matlab on Windows 10, I got an error message Warning: Name is nonexistent or not a directory: C:\Users\(username)...

5 years 前 | 3 个回答 | 0

3

个回答

提问


Matlab on Linux: Failed to load module "canberra-gtk-module"
I run Matlab on Ubuntu and am told that Failed to load module "canberra-gtk-module" What am I to do?

5 years 前 | 4 个回答 | 1

4

个回答

提问


How can one define this vector in an elegant way?
I have x=0:0.01:1 then I want to create a vector y that corresponds to each value of x ngrid=((1-0)/0.01)1; y=zeros(ngrid,1)...

5 years 前 | 2 个回答 | 0

2

个回答

提问


calculate empirical distribution function and interpolation
I have a data of column 1 = temperature at 55F, 57F, 60F,... column 2 = sales of sunglasses at these temperatures I want to ...

5 years 前 | 1 个回答 | 0

1

个回答

提问


how can one change the default directory of opening files?
As I go to Home->File->Open, iit open a folder that is not related to the project. How can one change the folder that Home->File...

5 years 前 | 1 个回答 | 0

1

个回答

提问


How can one define this variable in an elegant way?
I want to define a variable x that is 300*1 vector. For the first 150 element, it is defined as an innerproduct of the first 150...

5 years 前 | 1 个回答 | 0

1

个回答

提问


How can one refer to the calculation in a function m-file?
I have a livescript file main.mlx. The file refers to a function m file test.m. In this test.m I calculate s1=polyvar(x,y). ...

5 years 前 | 1 个回答 | 0

1

个回答

提问


remove obsevations with x=0
I have a pair of observations I just want to choose the pairs that . Is there any simpler way than writing a loop?

5 years 前 | 1 个回答 | 0

1

个回答

提问


a function that draws a plot and use an input for the filename of the plot
To continue, In my Livescript called test.mlx, I have variables days temperatures I now want to write a function m file that...

5 years 前 | 2 个回答 | 0

2

个回答

提问


a function that draws a plot and uses an input for the title of the plot
In my Livescript called test.mlx, I have variables days temperatures I now want to write a function m file that outputs a plo...

5 years 前 | 1 个回答 | 0

1

个回答

提问


How to open a file in Windows 10 partition from Matlab in Linux
I have a dual-boot of linux and windows 10. I went through the steps http://ubuntuhandbook.org/index.php/2016/01/mount-windo...

5 years 前 | 0 个回答 | 0

0

个回答

提问


a function that draws a plot: use a variable name for a legend
I have a data for days temperature I want to write a function that plot(x,y) that, when one inputs plot(days,temperature), th...

5 years 前 | 1 个回答 | 0

1

个回答

提问


Writing m function to be read by Livescript
In my Livescript called test.mlx, I have variables days temperatures I now want to write a plot plot(days, temperatures) Bu...

5 years 前 | 2 个回答 | 0

2

个回答

提问


Can Matlab Livescript read function m files (not local functions) outside .mix file?
Suppose I have a livescript. is it possible to call a function m file that lives outside livescript mix file?

5 years 前 | 1 个回答 | 0

1

个回答

提问


"not recognized as an internal or external command, operable program or batch file"
I ran clear all pp=gcp('nocreate'); [~,numproc]=system('nproc','-echo'); numproc=str2double(numproc)-1; it turns on Mat...

5 years 前 | 1 个回答 | 0

1

个回答

提问


Matlab on Ubuntu: Live Editor Is Unable to Run In The Current System Configuration"
I installed Matlab on Ubuntu and able to start Matlab. Still got the above error message about livescript, Please advise.

5 years 前 | 1 个回答 | 0

1

个回答

提问


Matlab on Linux/Windows 10
I have a dual boot machine of Windows 10 and Ubuntu. I run Geekbench on them and found that linux will have 20% faster scores. D...

5 years 前 | 0 个回答 | 0

0

个回答

提问


How to define simultaneous equations for ODE45
Suppose I have equations I understand I write f=@(t,x,a)[x(1)+x(2),x(1)-a*x(2)] But I hope to define equations one by one f...

5 years 前 | 1 个回答 | 0

1

个回答

提问


Define the entire plot package
When I write a plot, it has plot of x y variables legend of variables specification of x plot specification of y plot spec...

5 years 前 | 1 个回答 | 0

1

个回答

提问


Define a plot object but do not show the plot
I have a speradsheet column 1 = day column 2 = temperature column 3 = rainfall I want to define plot_temperature=plot(day,...

5 years 前 | 1 个回答 | 0

1

个回答

提问


How does one solve simultaneous difference (not differential) equations?
ODE45 can deal with differential equations. Filter can deal with a single difference equations. Can Filter deal with multipl...

5 years 前 | 1 个回答 | 0

1

个回答

加载更多