Answered
Do you think that MATLAB is expensive?
I think the US$90 that I paid for the student edition was a steal, though I never used it. Within three months I became a resea...

15 years ago | 0

Answered
using polyval(a,x)
It doesn't fzero(@(x)6*x^3+4*x^2-5/12*x^3-7*x^2+3*x+8.2892,pi)

15 years ago | 0

Answered
Matrix Indices Problem
[junk, idx] = max(logical(A),[],2) idx will be you index vector.

15 years ago | 2

| accepted

Answered
title that spans subplots
How about with super title! doc suptitle What it looks like: <<http://i.imgur.com/gvSGs.png>>

15 years ago | 9

Answered
How do I extract columns from multiple photographs and stitch them together?
First you have to get the images in to MATLAB. <http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F FA...

15 years ago | 0

Answered
Calculate means of multiple matrices
<http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F FAQ4.6> To get you started ...

15 years ago | 0

Answered
quiver plot - arrow
Like with doc annotation doc text ? There are quite a few quiver tools on the FEX. It looks like |quiverS| might be...

15 years ago | 1

Answered
Deleting a row or column of a matrix
u = y(1:20,1:20);

15 years ago | 2

Answered
Cartesian to Polar
<http://www.mathworks.com/matlabcentral/fileexchange/30864-3d-rotation-about-shifted-axis FEX:AxelRot> I think this might b...

15 years ago | 0

| accepted

Answered
physionet database
Move it to the MATLAB folder in your documents or, from MATLAB, go to that folder and click "Add selected folder and subfolders ...

15 years ago | 0

Answered
Detect multiple circles of various radii in complex, noisy, grayscale image
<<http://i.imgur.com/GBbJl.png>> I'm just posting this as an answer so I can include the image. Please clarify: Are all of the...

15 years ago | 0

Answered
how can i solve this problem about 'OUT OF MEMORY'
Buy more RAM and upgrade to a 64bit system. CT scans, by nature, require a lot of memory. Also, you could convert to integers ...

15 years ago | 0

Answered
Calculating Satellite Positions(Error msg: ??? Subscripted assignment dimension mismatch.)
dbstop if error run your program, it'll take you the line of the error. When it gets there, evaluate the right-hand-side t...

15 years ago | 0

| accepted

Answered
a matematical problem with matrix inversion
U = magic(4); %sample data U = U(:,1:3); %non-square it U'*(( U * U')\U) %see what happens: ans = 1 -9.714...

15 years ago | 0

Answered
Create a popup menu based on dynamic data
Where is the string stored? Is it in an edit box? inside the callback: S = get(handles.text_box_of_choice,'string'); ...

15 years ago | 1

Answered
How to figure out the number of objects in a workspace?
a=whos; nObj = size({a(:).size},2); clear a; %to keep the same number of objects; also assuming a _wasn't_ a variable befo...

15 years ago | 0

| accepted

Answered
how to form color 3D image
Please give an example of what you mean: % red cameraman I = imread('cameraman.tif'); I = cat(3,I,zeros(size(I,1),size(...

15 years ago | 1

Answered
divide equal parts of a time series into a new matrix
So: [val idx] = min(reshape(A,3,[])); %each val is the respective minimum idx = idx+(0:3:(3*length(idx)-1)); %original co...

15 years ago | 0

| accepted

Answered
3D plot with uncertainties
So maybe a variation of: doc streamtube doc streamribbon ?

15 years ago | 0

Answered
Very simple simultaneous eqs.
doc subs %substitute numerical values doc double %convert symbolic to double precision

15 years ago | 0

Answered
Ordered connected components
Use |regionprops| on the CC struct with the 'PixelList' option. That will return row/columns. Then use |sortrows| on that to f...

15 years ago | 0

Answered
dilatasi erosi ..... what it is?
They're a special form of convolution.

15 years ago | 0

Answered
How to embed in a post a nitid image
The image looks the same (good quality) to me in both places. Also, on Mac w/ firefox, when I do the zoom in by holding one fin...

15 years ago | 0

| accepted

Answered
extracting sub matrix - time consuming
* Use |bsxfun| instead of |ndgrid|, it'll skip the expansions. * Do xc,yc and sigma change? If not, calculate them being mul...

15 years ago | 0

Answered
Memory pig?? Problem with kron function
Can't you just open the task manager and look at what's using what? Close the program using the most memory... 300Mb of RAM is...

15 years ago | 1

Answered
if/for loop problem
perhaps you're looking for |break| or |return| doc break doc return ?

15 years ago | 0

Answered
Calculating Stream Depletion using changing pumping rates over time
<http://matlab.wikia.com/wiki/FAQ#How_can_I_create_variables_A1.2C_A2.2C....2CA10_in_a_loop.3F FAQ4.6> rethink your variable ...

15 years ago | 0

Answered
length of forehead of a person
Or sum(Your_bw_image(forehead_row,:))

15 years ago | 0

Answered
Find minimum value within struct
min(structfun(@min,data)); is significantly faster on my machine. Conversions to and from cells take awhile.

15 years ago | 1

Load more