photo

Matlab_Student


Last seen: 3 years ago Active since 2016

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Which type of plot is suitable for comparing two or more features of points at coordinates (x,y)
The title is quite difficult to understand so let me give an example: points at coordinates (x,y): people at age x and with y...

6 years ago | 0 answers | 0

0

answers

Question


how to linearly interpolate 2D matrix at a point (x,y)
X: x-coordinate values, Y: y-coordinate values. These correspond to Values as the 2D table. interpolate the value at (2.5,3.5) b...

6 years ago | 1 answer | 0

1

answer

Question


how to sum multiple matrics inside a cell array?
for example: A = cell(1,3); A{1} = [1]; A{2} = [1]; A{3} = [1]; What's a quick command to sum these cell elemen...

7 years ago | 1 answer | 0

1

answer

Question


Does matlab automatically close a file after loading it
I have a big for loop that loads each file in a directory and performs some calculations. I wonder if matlab still keeps these f...

7 years ago | 1 answer | 0

1

answer

Answered
How to keep adding rows in a structure inside a for loop
*Answering my own question* In the loop: structrow = structrow + 1; PatientInfo(structrow).name = name_va...

7 years ago | 0

Question


How to keep adding rows in a structure inside a for loop
The screenshot below is what I want to accomplish. I have a for loop that, for each organ name, calculates the coverage, maxdose...

7 years ago | 2 answers | 0

2

answers

Question


How to write an if statement that returns which of the conditions is met
I have the following psuedocode: if (cond1) or (cond2) print('1'); end Now I would like it to tell which of the ...

7 years ago | 1 answer | 0

1

answer

Question


How to plot the colormap of a 3D data set
1st var: age [31,32,33,34,35] 2nd var: years of working [10,15] 3rd var: corresponding yearly income(*10k) [8,8,6,9,9,10,1...

7 years ago | 1 answer | 0

1

answer

Question


On a semilogy plot, how to plot a line connecting two given points A&B and perform linear interpolation
As the question says, I would like to connect two points on a semilogy plot and perform linear interpolation. For example, give...

7 years ago | 1 answer | 0

1

answer

Question


How to find X Value given Y value and show the point on a plot
I have an semilog plot below. % x = 0:1:25; y = exp(-0.03*x); figure; semilogy(x,y); % I want to let the program cal...

7 years ago | 1 answer | 0

1

answer

Question


MatLab Logical answer always 1
I have 2017b installed on my mac. Below is the confusing part:..... >> islogical(5<7) ans = logical 1 >> isl...

7 years ago | 1 answer | 0

1

answer

Question


Resizing a 3D image without using imresize3
I do not have the image processing toolbox on my MatLab 2016b so I cannot use the imresize3() function. Is there other ways to r...

7 years ago | 4 answers | 0

4

answers

Question


How to Add Linear Trendline that Considers Errorbars
x = [662 1173 1332]; y = [654.3724 1124.827 1271.512]; yneg = [0.089207 0.799102 0.799102]; ypos = [0.089207 0.799102 0.7...

7 years ago | 3 answers | 2

3

answers

Question


Add Linear Trend-line with Uncertainty
How do I obtain a linear trend-line for three points with uncertainty of the x-values. For example, the first point is (6000[m],...

7 years ago | 0 answers | 0

0

answers

Question


(Matlab 2013) Specify Number of Decimal Digits When Reading In a Number
x(nodeID)=fscanf(fid,'%f',1); This is the argument that I have to read in a number of 6 decimal digits (1.123456) but the pr...

8 years ago | 1 answer | 0

1

answer

Question


fprintf: display for-loop index/start a new line
for i = 1:5 fprintf('Current number is',i,'\n'); end I am trying to print the for-loop index each time, starting at...

8 years ago | 1 answer | 0

1

answer

Question


Matlab Does Not Display Code Folding
<</matlabcentral/answers/uploaded_files/49161/Screen%20Shot%202016-04-04%20at%203.43.26%20PM.png>> The line to expand/collaps...

8 years ago | 2 answers | 0

2

answers

Question


already know function: find x value given y AND plot (x,y) on the same graph
Can someone help me with this simple question? I already know the function expression. I would like to find the x value corresp...

9 years ago | 1 answer | 0

1

answer