Feeds
질문
ODE45() & Importing Variables in to Functions Inside It
I am using ode45 on my function; "derivs_func_5". It provides derivatives for ode45. That function needs to have a value impo...
거의 13년 전 | 답변 수: 1 | 0
1
답변질문
How to get TRUE/FLASE to work for arrays of cells with mixed string and integer values?
I have a 1x14 cell array: data{1} = 9 9 NaN 6 19 8 17 7 15 31 6 18 4 13 I am trying to apply a T/F logic tes...
대략 13년 전 | 답변 수: 2 | 0
2
답변질문
Matlab MODE-like function for evaluating multimodal sets of data?
I read up what I could find on matlab MODE() function and I don't see any formatting options to make it return multiple modes. ...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
How to set up dynamic naming of vectors?
LETS SAY: I have a large matrix of unknown size in a text file. I wish to import it column by column and store each column...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
How to call out rows that contains a value X in column Z of matrix A?
If I have a matrix A what command would return the number of each row in A that contains the value X in column Z? EXAMPLE: ...
대략 13년 전 | 답변 수: 2 | 0
2
답변질문
How to make a movie loop / controll speed?
I made a movie using a looping function to generate plots. Then grabbed and stored frames: f = getframe; F = [F...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
Function that returns value after decimal point?
Is there a function that returns the value after the decimal? EX: a = 2.876 function(a) = 0.876 Thank You
대략 13년 전 | 답변 수: 2 | 0
2
답변질문
atan(t) function quadrant issues, atan2(x,y) not an option
1) Is there a command in matlab to find the reflex angle? I can write a script to do it but I would hope a function already ...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
\n Not Generating New Line In fprintf fid Command When Writing To .dat File
I have a loop going and am trying to write output each time to a .dat text file appending it every iteration; but not getting a ...
대략 13년 전 | 답변 수: 2 | 0
2
답변질문
Need help debugging numerical Basel Problem solution
Need help debugging my numerical Basel Problem solution. It keeps increasing "n" until the error is below some set value in rela...
대략 13년 전 | 답변 수: 0 | 0
0
답변질문
How to plot a matrix?
I have a matrix I am trying to plot called "errors" Best I can do is: plotmatrix(errors,'b') But that gives...
대략 13년 전 | 답변 수: 2 | 0
2
답변질문
How to automatically add variables to a matrix with each iteration?
I have code that solves an equation and checks against a known value until the error is with in tolerance. I would like to ad...
대략 13년 전 | 답변 수: 2 | 0
2
답변질문
How to import a spesific variable from a matrix in a file?
I have a file "SANJOSE" that has two values in it "20 30" I would like to use "loc1lat = importdata('SANJOSE')" command to im...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
What command prompts for file name then creates/opends file?
What syntax would I use to make a script that would prompt the user to choose a file name then create/open that file? Thank Y...
대략 13년 전 | 답변 수: 1 | 0
1
답변질문
How to request+input variable name+value then write to file?
I am trying to write a script that: asks user for matrix name %like mat1 asks user for matrix value %like [20,30] wr...
대략 13년 전 | 답변 수: 1 | 0
