Community Profile

photo

Mike


Active since 2015

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • Thankful Level 1

View badges

Feeds

View by

Question


How can I change the slope of a polynomial, with a constraint between 2 points?
Hi, I have a 3rd degree polynomial, shown as the blue curve below. <</matlabcentral/answers/uploaded_files/73433/untitled...

7 years ago | 0 answers | 0

0

answers

Question


How can I reconstruct a matrix from rotated vectors?
Hi, I have vectors which are diameters (at different angles) from a circular surface. Knowing the angles of the individual vecto...

7 years ago | 2 answers | 0

2

answers

Question


How to build a circularly symmetric matrix from a vector
Hi, If I want a matrix, like one used to generate the figure below: <</matlabcentral/answers/uploaded_files/56552/untitle...

8 years ago | 3 answers | 0

3

answers

Question


Can surf or plot3 be modified to vary in x or y but not z?
Hi all, If I generate a grid, e.g.: x = [1:11]; z = ones(length(x)); surf(z) xlabel('X');set(get(gca,'xlabel'),...

8 years ago | 1 answer | 0

1

answer

Question


RMS of matrices in a cell or array
Hi all, If I have an n x n matrix, P, I find the rms by RMS_P = sqrt(mean(Prv(:).^2));. Please, how can I find the rms of ...

8 years ago | 1 answer | 0

1

answer

Question


pinv of a singular matrix
Hi, I'm trying to solve for x in: Ax=b, but my A matrix is singular. An example of the A matrix is -1 0 0 1 0 0 0 0 -...

8 years ago | 2 answers | 0

2

answers

Question


How can I shift and repeat an element within a matrix?
Hi all, Please, what's a neat way to build a matrix like this: 0 0 1 0 0 0; 0 1 0 0 0 0; 1 0 0 0 0 0; 0 1 0 0 0 0...

8 years ago | 2 answers | 0

2

answers

Question


Can ZernikeCalc function be modified to create off-axis Zernikes?
I've been using the ZernikeCalc function to generate Zernike surfaces. I'm wondering, can I generate off-axis surfaces with this...

8 years ago | 0 answers | 0

0

answers

Question


Creating a super diagonal matrix.
Please what's a neat way of creating a matrix that looks like this? [1 2 3 4 5 0 0 0 0 0; 0 1 2 3 4 5 0 0 0 0; 0 0 1 2 3 4 ...

8 years ago | 1 answer | 0

1

answer

Question


How can I integrate select parts of a vector, with a constant step size?
If I have a vector, say, v = [1:1:20], and I want the first term of the cumtrapz(v) to work on [v(1) v(11)], the second term to ...

9 years ago | 0 answers | 0

0

answers

Question


How can I generate a rotationally invariant surface from a profile?
I have a vector, e.g. V = [1 2 3 4 3 2 1], that represents a profile through the center of a rotationally invariant surface. I'm...

9 years ago | 1 answer | 0

1

answer