photo

Rinu


Last seen: ongeveer 3 jaar ago Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


How to sort one field of a structure based on the values of another field?
Let's say I have a structure 'struct' with two fields 'field1' and 'field2'. The length of the fields is unknown, but could be m...

meer dan 8 jaar ago | 1 answer | 0

1

answer

Question


How to read data from text file upto some point defined by "1"?
I'm trying to read data from a number of text files (using a loop) using fscanf upto some point in the file where "1" occurs. I ...

bijna 10 jaar ago | 1 answer | 0

1

answer

Question


How to retain only the positive root of a quadratic equation?
I was wondering if there is any Matlab function that would allow me to retain only the positive root of a quadratic equation. I ...

meer dan 10 jaar ago | 2 answers | 0

2

answers

Question


Find elements in a matrix
I have a very large matrix A with 4 columns and hundreds of thousands of rows - the first 3 columns contain x, y and z coordinat...

meer dan 10 jaar ago | 1 answer | 0

1

answer

Question


How to generate a contour map?
Is there any way to generate a contour map from random 2-D scattered data points without a grid? I just have the X and Y coordin...

bijna 11 jaar ago | 1 answer | 0

1

answer

Question


How to read in names of function input arguments as strings?
Is there any way I can read in the names of input arguments of function m-files as strings? I have a function m-file: function ...

bijna 11 jaar ago | 1 answer | 0

1

answer

Question


How to export a Matlab cell array to an Excel spreadsheet?
I have a cell array X={'A','B','C','D',A,B,C,D} where A,B,C and D are column vectors of equal size. I intended to create a spre...

bijna 11 jaar ago | 3 answers | 1

3

answers

Question


How to display matlab cell array contents with colors?
Say, I have a cell array A containing strings describing some property spatially. Is there any way I can plot these property val...

ongeveer 11 jaar ago | 1 answer | 0

1

answer

Question


Solving equation with symbolic vector variable
I want to solve an equation of the form: V/(A-V)=B where A and B are known vectors and V is the symbolic vector variable I want...

ongeveer 11 jaar ago | 1 answer | 0

1

answer

Question


How to group scatter plot data?
I have three vectors x,y and z of the same length. How can I generate a scatter plot of x and y which is grouped according to th...

ongeveer 11 jaar ago | 0 answers | 0

0

answers

Question


How do I fit an exponential curve to my data?
Say, I have the following data: x=[1,2,4,6,8],y=[100,140,160,170,175]. How do I fit an exponential curve of the form y=a-b*exp(-...

ongeveer 11 jaar ago | 3 answers | 1

3

answers

Question


How to plot a grid connecting adjacent points in a 2-D Cartesian coordinate system?
Say, I have a grid [X Y]=meshgrid(0:10:100,0:10:100). Is there any Matlab function to plot the 2-D grid (100 small boxes)? Also ...

ongeveer 11 jaar ago | 0 answers | 0

0

answers

Question


How do I create a vector of the average of consecutive elements of another vector (without using a loop)?
Say, I have a vector A=[2 4 6 8 10]. Is there any way I can create a vector of the average of consecutive elements of A, i.e. B=...

ongeveer 11 jaar ago | 3 answers | 0

3

answers

Question


How do I create (and retain) the elements of vectors using for loop?
I want a function file to output two vectors 'pi_estimate' and 'error' of length 'n' each. I'm initializing the vectors with zer...

ongeveer 11 jaar ago | 1 answer | 0

1

answer