photo

Daniel Gray


自 2017 起处于活动状态

Followers: 0   Following: 0

统计学

  • Thankful Level 3

查看徽章

Feeds

排序方式:

提问


How to successively fill a vector with for loop?
I have my code set up as follows: thmaxn = []; for ang=[0, pi/2, pi, 3*pi/2, 2*pi] thmax = phasedist(ang,N,rhoss)...

7 years 前 | 1 个回答 | 0

1

个回答

提问


I want to create random bumps on a flat surface
I have a 300x300 zeros matrix and I would like to create random bumps on the surface on random heights. To be more detailed, ima...

7 years 前 | 1 个回答 | 0

1

个回答

提问


I want to randomly have numbers added to a matrix
I have a 300x300 zeros matrix and I want to have numbers between 0 and 1 (inclusive) randomly placed amongst the matrix, the num...

7 years 前 | 3 个回答 | 0

3

个回答

提问


I want to vary how much of a plane is filled with the angle of the plane with the horizontal, any help?
I am running an experiment and currently have a 300x300 zeros matrix and the lower half filled with ones to get a half-plane ima...

7 years 前 | 1 个回答 | 0

1

个回答

提问


I have a 300 x 150 zeros matrix and want to change only the lower triangular elements to 1, How do I do that?
Everything is in the title really, I need to change the lower triangular elements of this zeros matrix to 1, how can I do this e...

7 years 前 | 4 个回答 | 0

4

个回答

提问


If I start with a matrix of zeros, how can I easily create an ellipse of ones in that matrix?
I have a matrix of zeros and would like to create and ellipse of ones within that matrix. I have done it before with triangles a...

7 years 前 | 1 个回答 | 0

1

个回答

提问


In 2016b is there a way to get categories on the x-axis of a bar chart?
I have seen how to do it on the 2017 release, but wondered if there was a way to get categories on the x-axis of a bar chart as ...

7 years 前 | 1 个回答 | 0

1

个回答

提问


If I start with a matrix of zeros, how can I easily create a circle of ones in that matrix?
I have a matrix of zeros, but would like a circle of ones in that matrix. Preferably I would like the circle to fill half the a...

7 years 前 | 2 个回答 | 0

2

个回答

提问


If I start with a matrix of zeros, how can I easily create a triangle of ones in that matrix?
I want to be able to get a .mat file that will create a filled triangle when I use imagesc. I have been told the easiest way is...

7 years 前 | 4 个回答 | 0

4

个回答