photo

Joseph Lee


Active since 2017

Followers: 0   Following: 0

Statistics

  • Thankful Level 4
  • Knowledgeable Level 1
  • First Answer

View badges

Feeds

View by

Question


How to remove lines from mesh plot
<</matlabcentral/answers/uploaded_files/98683/true.png>> How do i remove the columns of straight lines across x axis? shading...

7 years ago | 1 answer | 0

1

answer

Question


How to set axis of a plot to correspond to their values.
x = 10:0.05:30; z = 1:0.005:3; [X,Z] = ndgrid(x,z); mesh(X,Z,Y) This is the plotting code, however the surface...

7 years ago | 1 answer | 0

1

answer

Question


Remove columns for a cell array
Z= {10x3000} how do i trim away 1000 columns to Z={10x2000}

7 years ago | 3 answers | 0

3

answers

Question


How to fill cell arrays with zeros to make them equal
M= {10x107} {10x108} {10x103} {10x105} how to fill each cell with zeros to reach the size of the max length...

7 years ago | 1 answer | 0

1

answer

Question


How to find the minimum length of a cell array
M= {10x107} {10x108} {10x103} {10x105} how do i find the minimum length among the cells? eg. 103

7 years ago | 2 answers | 0

2

answers

Question


transform a 3x1 cell array containing {2x4}cell arrays into 2x1 cell array containing {3x4}cell arrays
C={ {[36 16 1 16 36] [20 12 2 12 22] [13 43 33 3 33 43 13] [19 4 19] [40 20 5 20 40] [26 16 6 16 26] [17 47 37 ...

7 years ago | 1 answer | 0

1

answer

Answered
MATLAB 2017b 初始化时间长,结束后出现如图的错误信息,求解答!
< <https://ch.mathworks.com/matlabcentral/answers/366640-cannot-run-newly-installed-matlab-2017b?s_tid=answers_rc1-1_p1_MLT 请看> ...

7 years ago | 0

Question


adding data from one cell array to a matrix
M is a 2x4matrix H is a 3x4cell array How do i add the 1st row of H to every row of M? M = [ 1 2 ...

7 years ago | 1 answer | 0

1

answer

Question


How to store cell arrays
If cell arrays contains matrices, what contains cell arrays? Is it possible to store different cell arrays into a single data s...

7 years ago | 1 answer | 0

1

answer

Question


minimum of different sized cell arrays using cell2mat error
How do i find the overall minimum of a cell array, cell2mat gives error. Y= {[100 200] [50 100] [20] [30 140]; ...

7 years ago | 3 answers | 0

3

answers

Answered
How can I calculate the area of this curve?
<</matlabcentral/answers/uploaded_files/95874/solution.png>> I assume you have the equation for the semicircle as well, ...

7 years ago | 0

| accepted

Question


Minimum for different sized cell arrays
How do i find minimum value from indexing, it is simple for a matrix but how to do the same for different cells? x & y are s...

7 years ago | 1 answer | 0

1

answer

Question


Plotting sphere error using surf
Error using surf (line 82) Z must be a matrix, not a scalar or vector. [x z y] = sphere; a=[ 0.2627 0.26...

7 years ago | 0 answers | 0

0

answers

Question


Find minimum for cell arrays
P & z are both 10x1300 cell arrays, how do i find the minimum P value at z=1 after i obtained the index, eg. Columns 1297 t...

7 years ago | 0 answers | 0

0

answers

Question


Error with indexing 'First argument must be numeric or logical'
M & z are both 10x1300 cell arrays of same size Columns 1296 through 1300 [1×23 double] [1×23 double] [1×...

7 years ago | 1 answer | 0

1

answer

Question


Indexing for cell arrays
I have 10x1300 cell array z, how do i find a certain value of z using indexing find(abs(z-z_position)<intvl) did not work ...

7 years ago | 1 answer | 0

1

answer

Question


Adding random data to left and right of each element in a matrix
This is a change from my previous question with random elements instead of fixed elements <https://www.mathworks.com/matlabce...

7 years ago | 2 answers | 0

2

answers

Question


Form a Cumulative sum matrix
S= 10x1300 R=10x1300 z1= S1+R1 x1300 z2=S1+R1+R1+S2+R2 x1300 z3=S1+R1+R1+S...

7 years ago | 3 answers | 0

3

answers

Question


Gaussian distribution with randn
Is it possible and how can i obtain a Gaussian distribution with randn for mean= 0.126 and it varies by+- 0.02, max=0.14...

7 years ago | 2 answers | 0

2

answers

Question


How to interpolate a 3d surface and smooth it out
how do i get from the first picture to the second Y is a 201x201 matrix Y= [201 201] x = 10:0.1:30; z = 1:0...

7 years ago | 0 answers | 0

0

answers

Question


How to smooth a 3d surface
How to smooth my 3d plot,i tried smooth function but it only works for 2dimensional. <</matlabcentral/answers/uploaded_fi...

7 years ago | 1 answer | 0

1

answer

Question


Random positive numbers with constant sum
How to form a matrix such that every time the numbers add up to be the same z=0.4 minimum z= 0.2 maximum z= 0.6 R ...

7 years ago | 2 answers | 0

2

answers

Question


Adding data to two matrices for indexing
I have 2 matrices Z and Y, both are a 10x1300 matrix and consists of random numbers, how do i add data to the left and right of ...

7 years ago | 1 answer | 0

1

answer

Question


how to plot a 3d surface with a matrix
M=201x201 matrix of 400201 numbers, each number is a height how to plot against x and z from x=10 to 30 with 0.1 increment an...

7 years ago | 2 answers | 0

2

answers

Question


using mat2cell
M is matrix of 2010x1300 how do i form 201 cells of 10x1300 using mat2cell?

7 years ago | 2 answers | 0

2

answers

Question


Change data from 10 cells into 201 matrices of 10x1300
[201×1300 double] [201×1300 double] [201×1300 double] [201×1300 double] ...

7 years ago | 0 answers | 0

0

answers

Question


change data from cell array to a matrix
[201×1300 double] [201×1300 double] [201×1300 double] [201×1300 double] ...

7 years ago | 1 answer | 0

1

answer

Question


cumulative sum in matrix
How do i generate a 5x10 matrix such as: Z1 Z2 Z3 ... Z4 Z5 Z6 Z7 Z8 Z9 Z10 ( each Z is a random number...

7 years ago | 1 answer | 0

1

answer

Question


cumulative sum in a loop
c = 1; while c <= 5 i = 1; while i <= 10, z = rand(1, 10); Z(c, i) = z(i) % how to get ...

7 years ago | 1 answer | 0

1

answer

Question


Find minimum of first column of matrix among multiple cells and then second and so on..
M is a cell array of 1650x1 rows M{1} is a matrix of 160x1 rows Looking to find the minimum among each row of every matri...

7 years ago | 1 answer | 0

1

answer

Load more