Risposto
How to textscan dates and data delimited with spaces?
Another option, for an input string: temp = split('2010 12 31 23 50,198,8.2,999,99.0,9999',','); Date = datetime(temp{1},'Inpu...

quasi 3 anni fa | 1

Risposto
Help using menu option
How about a question dialog box? https://www.mathworks.com/help/matlab/ref/questdlg.html#mw_306ac9ac-5847-458e-b5c5-78ef8926ea4...

quasi 3 anni fa | 0

Risposto
Writting data to text file (json)
See jsonencode() To write the encoded data "encoded" to file: fid = fopen('file.json','w'); fprintf(fid,'%s',encoded); fclos...

quasi 3 anni fa | 1

| accettato

Risposto
Command lines appear when I run an app.
It sounds like you have a line somewhere that is missing a semicolon. If you set a property in the app but don't terminate the ...

quasi 3 anni fa | 0

| accettato

Risposto
Median power using find function
From that line, ninteg(1,j:) is invalid syntax. If you want element j through the end of the vector, you need ninteg(1,j:end...

quasi 3 anni fa | 0

Risposto
Solving ODEs using trapezoidal method in vector/matrix notation
A function handle works like this: f = @(x,t) x.^2; y = f(3,12); the function f takes 3 and 12 as input variables and names ...

quasi 3 anni fa | 0

Risposto
how to find X*(e^-jw) ?
The complex conjugate of a vector X is given by conj(X)

quasi 3 anni fa | 0

Risposto
store multiple outputs into one matrix
Arrays with compatible dimensions can be concatenated using either square brackets or the cat() function. In this case, it look...

quasi 3 anni fa | 0

Risolto


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

quasi 3 anni fa

Risposto
How to fold up code in live script?
This isn't a feature for live scripts right now, but if you would like to see it please consider submitting an enhancement reque...

quasi 6 anni fa | 3

| accettato