Community Profile

photo

Matlab_Student


Last seen: oltre 2 anni fa Attivo dal 2016

Statistiche

  • Thankful Level 3

Visualizza badge

Content Feed

Visto da

Domanda


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

circa 6 anni fa | 0 risposte | 0

0

risposte

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

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

circa 6 anni fa | 0

Domanda


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

circa 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 6 anni fa | 4 risposte | 0

4

risposte

Domanda


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

quasi 7 anni fa | 3 risposte | 2

3

risposte

Domanda


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

circa 7 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 8 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 8 anni fa | 1 risposta | 0

1

risposta