Question


Changing the parameters of the dynamical system in the middle of simulation, Part 2
In my previous question, I asked "suppose I want to run f = @(t,x) [-x(1)*x(2);x(1)*x(2)-x(2);x(2)] [t,xa]=ode45(f,[0 6], [4 ...

6 years ago | 1 answer | 0

1

answer

Question


How to block out code in Live Script
Suppose I have a live script like a=1 and b=2 and c=3 Now I want to comment out the first two block of the code. That is,...

6 years ago | 1 answer | 0

1

answer

Question


Defining a system of equations
In a previous post, a system of three ODE is set as f = @(t,x) [-x(1)*x(2);x(1)*x(2)-x(2);x(2)] But I want to define each equa...

6 years ago | 1 answer | 0

1

answer

Question


Changing the parameters of the dynamical system in the middle of simulation
Suppose I want to run f = @(t,x) [-x(1)*x(2);x(1)*x(2)-x(2);x(2)] [t,xa]=ode45(f,[0 6], [4 0.1 0]); this runs the system fro...

6 years ago | 1 answer | 0

1

answer

Question


Running simulink from matlab m file and then getting an output
Suppose I have simulink model called "A"and I run simOut=sim('A'); from the script. How can I get time series of simulated ...

6 years ago | 1 answer | 0

1

answer

Question


Running a simulink file at File Exchange
(Author removed the text of the question because it is a simple question about Simulink.)

6 years ago | 1 answer | 0

1

answer

Question


a script that joints multiple sheets in an Excel workbook
I have an Excel workbook with, let us say, 40 worksheets. Every worksheet has a format of Date Sheet1Data 5/1/2...

6 years ago | 1 answer | 0

1

answer

Question


How fast is Matlab on AWS or Cloud?
I have seen that one can Matlab on Clound and AWS. https://www.mathworks.com/cloud.html#PublicClouds I would like to get an i...

7 years ago | 0 answers | 1

0

answers

Question


Merge data from multiple XML files
I would like to merge multiple xml files into one excel spreadsheet. There is a software for this https://www.novixys.com/Exult/...

7 years ago | 1 answer | 0

1

answer

Question


writing loops to download files using Matlab websave
I want to download files of the form https://www.somecompany.com/xml/A_*.xml I can download one file using >> url = 'http...

7 years ago | 1 answer | 0

1

answer

Question


remove rows with duplicates
Consider a following spreadsheet Column 1 2 3 10 10 10 11 10 9 11 10 10 In this setting I want to delete Row 2 and Row ...

7 years ago | 1 answer | 0

1

answer

Question


download all files in a directory with some conditions
Suppose a website http://www.abc.com/xml has files of the form a01.xml, a02.xml,....,b01.xml, b02.xml,.... c01.xml, c02.xml,.......

7 years ago | 0 answers | 0

0

answers

Question


how to write a script that outerjoins multiple data files
I have files "File1.csv", "File2.csv",.... and "File33.csv". Each of 33 files has a key variable 'date'. I would need to outerjo...

7 years ago | 1 answer | 0

1

answer

Question


list of natively parallel functions in Matlab
>Yes, they will inherently use multiple cpu cores. And are able to utalize the cpu much better (some can utalize avx, some are o...

7 years ago | 0 answers | 0

0

answers

Question


How important is it to have ECC memory?
I think of getting a workstation. How important is it to have ECC memory for accuracy of computations?

7 years ago | 1 answer | 0

1

answer

Question


Live Script versus Jupyter Notebook
I would like to know further detailed comparison between Matlab Live Script and Jupyter Notebook.

7 years ago | 1 answer | 0

1

answer

Question


Saving codes in Live editor to script
I have written matlab code on Live Editor. I would like to extract these codes into a standard script. Please advise the steps. ...

7 years ago | 1 answer | 0

1

answer

Question


Livescript: putting codes and plots side-by-side
In live script I would like to force a plot always next to code (not below the code) like the attached screenshot. What will be ...

7 years ago | 0 answers | 0

0

answers

Question


Using Price2Ret to calculate Return
Suppose I have a data with the first column is Date and the second column is Price. I would like to calculate Returns using pric...

7 years ago | 1 answer | 0

1

answer

Question


Printing live script without code part
Is it possible to print a live script file without code so that readers can get output and graphics (but not code)?

7 years ago | 2 answers | 1

2

answers

Question


Expanding quarterly data to monthly data
To expand between months where data exist, one can use a variant of TT = retime(outdoors,'hourly','spline'); but suppose ...

7 years ago | 0 answers | 0

0

answers

Question


Specify a format character vector in readtable
I ran "readtable" and got a following warning. Please advise how to specify a format character vector in readtable. It was not c...

7 years ago | 2 answers | 0

2

answers

Question


Create table from excel spreadsheet with multiple sheets
Suppose I have xlsx file with multiple sheets. I want to create table A from the first sheet and create table B from the second ...

7 years ago | 2 answers | 0

2

answers

Question


Transform into a Matlab datetime format, Part 2 (Sample File Attached)
I have a column of MM_DD_YY and another column with hours (1 to 24). What is the best way to concatenate two entries to apply da...

7 years ago | 1 answer | 0

1

answer

Question


Take a difference between the value and the lagged value dealing with NaN
Suppose I have a table T such as Running Dist Swimming Dist --------------------------------------------- ...

7 years ago | 1 answer | 0

1

answer

Question


Transform into a Matlab datetime format
I have an entry "2017-10-26 06-PM" How can I transform this entry into a datetime format that Matlab can understand?

7 years ago | 1 answer | 0

1

answer

Question


Append the tabelename to a variable name in a table
I have a table T. There are variables a,b,... in T. I would like to rename variables so that their names will be T_a,T_b,...etc....

7 years ago | 1 answer | 0

1

answer

Question


"Close" all loops in a script m file
I have multiple for loop for a=1 test end for b=1 test end In an editor I can "close" the loops with ...

7 years ago | 1 answer | 0

1

answer

Question


What is the best file format to import data into Matlab?
What will be the most robust file format when one tries to import data into Matlab?

7 years ago | 2 answers | 0

2

answers

Question


Extract a table with some range of dates, Part 2
I have an attached table and then applied A=B(Periods,:); but the result is 0*2 timetable. Please advise.

7 years ago | 0 answers | 0

0

answers

Load more