Community Profile

photo

Matlab_Student


Last seen: meer dan 2 jaar ago Active since 2016

Statistics

  • Thankful Level 3

View badges

Content Feed

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

ongeveer 6 jaar 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...

ongeveer 6 jaar 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...

ongeveer 6 jaar 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...

ongeveer 6 jaar 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...

ongeveer 6 jaar 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...

ongeveer 6 jaar 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 ...

ongeveer 6 jaar 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...

ongeveer 6 jaar 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...

meer dan 6 jaar 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...

meer dan 6 jaar 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...

meer dan 6 jaar 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...

meer dan 6 jaar 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...

bijna 7 jaar 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],...

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

bijna 8 jaar 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...

bijna 8 jaar 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...

bijna 8 jaar 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...

ongeveer 8 jaar ago | 1 answer | 0

1

answer