Pregunta


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 ...

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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,...

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 7 años hace | 0 respuestas | 1

0

respuestas

Pregunta


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/...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

alrededor de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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,.......

alrededor de 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 7 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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?

más de 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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. ...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 ...

alrededor de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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)?

alrededor de 8 años hace | 2 respuestas | 1

2

respuestas

Pregunta


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 ...

alrededor de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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 ...

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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 --------------------------------------------- ...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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?

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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....

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


"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 ...

alrededor de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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?

alrededor de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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.

alrededor de 8 años hace | 0 respuestas | 0

0

respuestas

Cargar más