Community Profile

photo

sono


Active since 2012

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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

11 years ago | 2 answers | 0

2

answers

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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

11 years ago | 2 answers | 0

2

answers

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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

11 years ago | 2 answers | 0

2

answers

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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

11 years ago | 2 answers | 0

2

answers

Question


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

11 years ago | 0 answers | 0

0

answers

Question


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

11 years ago | 2 answers | 0

2

answers

Question


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

11 years ago | 2 answers | 0

2

answers

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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

11 years ago | 1 answer | 0

1

answer

Question


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

11 years ago | 1 answer | 0

1

answer