Community Profile

photo

Mike


11 total contributions since 2015

Contact

Mike's Badges

  • First Review
  • Thankful Level 1

View details...

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

mehr als 2 Jahre 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...

fast 3 Jahre 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...

mehr als 3 Jahre ago | 0 answers | 0

0

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'),...

mehr als 3 Jahre 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 ...

mehr als 3 Jahre 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 -...

fast 4 Jahre 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...

etwa 4 Jahre 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...

mehr als 4 Jahre 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 ...

mehr als 4 Jahre 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 ...

mehr als 4 Jahre 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...

mehr als 4 Jahre ago | 1 answer | 0

1

answer