Answered
How do I specify the diagonal elements of a matrix?
To do a subscripted assignment into the diagonal of a matrix, you can use linear indexing: A(1:n+1:end) = v (where |v| is an...

15 years ago | 10

Answered
Select Points on Plot (Code Included)
I was actually playing with this today (because I am that much of a dork). There might be a way around |ginput|, but I wonder i...

15 years ago | 1

| accepted

Answered
[DISCONTINUED] Wish-list for MATLAB Answer sections.
Include questions you've commented on (but not necessarily "answered") in "my answers". This way you can keep an eye on a quest...

15 years ago | 12

Answered
plotting: x-axis datenum to datestr
datetick('x','dd/mmm/yy') Or whatever format you want in the second argument (leave it off & MATLAB will pick one for you)

15 years ago | 0

Answered
Select Points on Plot (Code Included)
Maybe I'm misunderstanding the interaction process, but it seems like you enter the loop, then (probably) get to the |ginput| li...

15 years ago | 0

Answered
array assignment question
So, this is what you want? a = zeros(4, 5); b = ones(2, 4); [rows columns] = size(b); % Define upper left of where...

15 years ago | 0

| accepted

Answered
Conditional plotting, changing color of line based on value.
Maybe this is going overboard, but given your comment "but it only plots dots and do not connect them together", I'm guessing yo...

15 years ago | 1

Answered
Statistic analysis on cell arrays
I think this is what you're looking for: A = nominal([ones(42,1);2*ones(25,1);3*ones(32,1);... ones(37,1);2*ones(23,1);...

15 years ago | 0

Submitted


Mortgage Amortization Calculator
GUI for calculating mortgage amortization table, with the option for making extra payments.

15 years ago | 2 downloads |

4.0 / 5
Thumbnail