Community Profile

photo

Mike


Aktiv seit 2015

Statistiken

  • First Review
  • Thankful Level 1

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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

etwa 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 7 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort