Community Profile

# cartonn

17 total contributions since 2009

Contributions in
View by

Posted

How do I Gram–Schmidt Orthogonalize Columns of a Matrix?
There must be a simple way of doing this. I have a matrix A that I'd like to Gram–Schmidt orthogonalize from left to right. This...

3 years ago | 3500 views

Posted

Storing the Krylov subspace basis vectors in a matrix
I'd like to write a function (more like a 1-liner) to evaluate Krylov subspace basis vectors K(E,b) up to a certain order n. Her...

3 years ago | 995 views

Responded

Re: Elementwise Expansion: How to "Dilute" a Matrix
Thank you!! I wouldn't have been able to figure this out on my own. Also, I know about the kronecker tensor product now. And th...

5 years ago | 4131 views

Responded

Re: Elementwise Expansion: How to "Dilute" a Matrix
I guess this can also be considered "zooming" into a matrix. I'm not sure, but some image processing functions may be useful... ...

5 years ago | 4131 views

Posted

Elementwise Expansion: How to "Dilute" a Matrix
I'm struggling doing this without using loops. I'm kind of new to MATLAB, and I was told that I'm not supposed to use loops, if ...

5 years ago | 4131 views

Posted

unit_impulse, unit_step and unit_ramp functions
I just needed to write these functions and thought they could be useful for others as well. And what makes them kind of cool is ...

7 years ago | 2682 views

Responded

Re: drawnow error
all right, I found a solution. It's not exactly what I was looking for, but it works just fine. I added "set(gcf, 'visible', 'o...

7 years ago | 5375 views

Responded

Re: drawnow error
Also, when I try to use this procedure with a low -what I call- precision_multiplier, it takes less time to "surf" the figure, ...

7 years ago | 5375 views

Posted

drawnow error
Hi, I am working on a 3D visualization and have a 3D graph that I make using "surf" command. Then, I have a function which I pa...

7 years ago | 5375 views

Responded

Re: toggle scene light
I found it. It is <code> light; <code> :)

7 years ago | 2319 views

Posted

toggle scene light
this is a very simple question but I cannot find the answer anywhere. " using code instead of clicking the button? thanks in a...

7 years ago | 2319 views

Responded

Re: export_fig help needed
thank you

7 years ago | 3829 views

Posted

export_fig help needed
Hi all, I need to set some parameters for export_fig.m (FEX: 23629) how can I change the quality of the output image? export_fi...

7 years ago | 3829 views

Posted

sliding a matrix
hi, ? for example lets say I have A = [0 10 20 30 40 50 60 70 80 90 100]; and I want B = [60 70 80 90 100 0 10 20 30 40 50]; ...

7 years ago | 2070 views

Responded

Re: dublicating rows of a vector
works great! thanks

7 years ago | 1402 views

Responded

Re: how to shrink matrix
lets say your matrix is called A len = size(A); len = len(2); A =A(:,1:len-1) would "remove" the last element of A.

7 years ago | 7024 views

Posted

dublicating rows of a vector
Hi all, I need help with something lets say I have a row vector called vec VEC=[2 3 5]; and I have a variable called b that is...

7 years ago | 1402 views