Community Profile

# Mike

11 total contributions since 2015

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

fast 4 Jahre ago | 0 answers | 0

### 0

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 4 Jahre ago | 2 answers | 0

### 2

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 4 Jahre ago | 0 answers | 0

### 0

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 4 Jahre ago | 1 answer | 0

### 1

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

fast 5 Jahre ago | 1 answer | 0

### 1

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

etwa 5 Jahre ago | 2 answers | 0

### 2

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 5 Jahre ago | 2 answers | 0

### 2

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 5 Jahre ago | 0 answers | 0

### 0

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 5 Jahre ago | 1 answer | 0

### 1

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 5 Jahre ago | 0 answers | 0