Answered
how can i do this ?
So you are not just plotting you are trying to find the point on the curve for any t? They you are best off forming this in...

12 years ago | 0

Answered
steps to compress image
As you are using the dct I'm assuming you attempting a jpeg compression? It has been a while since I did jpeg compression and d...

12 years ago | 0

Answered
how can i do this ?
You are missing some (.*) in both b= and e=. However your a,b,c,d,e,f curves doesn't match the pictured curve.

12 years ago | 0

Answered
Replacing valuees in a matrix
I would suggest use the find() function. With find you can get the index of values where it is Sh_a_BG_po<=0.1*Sh_a_po. ...

12 years ago | 1

| accepted

Answered
How to substitue NaN cells in a column (or matrix) with the previous valid number?
This is the quickest way I was able to come up with. Not very elegant or probably the most optimal way but here is it. I would...

12 years ago | 0

| accepted

Answered
How can I convert A matrix to B matrix below?
Pretty much how you just typed it? B = [A(1,1) A(1,1) A(1,1);... A(1,1) A(2,2) A(2,2);... A(1,1) A(2,2) A(3...

12 years ago | 0

Answered
How to read a.txt file in matlab
As you have consistent text file, perhaps writing your own function to parse out the data would be the way to go. using fgetl()...

12 years ago | 0

Answered
Need a kind soul for help, Changing Cell array data with greater value into another cell array.
simple enough, I would suggest using the find() function. for example: over230 = find(V>230); %get the index of V whe...

12 years ago | 0

Answered
i need matlab code for finding the lung tumor intensity using ct scan image
I agree with Nitin, please expand what you mean by intensity of the tumor? Do you need to find and extract tumor into a smaller...

12 years ago | 0

Answered
Extract data from a vector in a loop
So lets break it down. in your for loop for i=1:length(x)/n a=x(i*n:(i+1)*n); b=var(a); end ...

12 years ago | 0

| accepted

Answered
How can I output variables from a handle function passed as param to a set function?
<http://stackoverflow.com/questions/16613252/how-to-use-keypressfcn-in-matlab-with-a-function-already-create> I think the stack...

12 years ago | 0

Answered
split a n*m-by-1 vector into n m-by-1 vectors
How about putting it into the 3rd dimension? A=reshape(A,2,1,4) then you can reference A(:,:,1) to A(:,:,4) will be the smalle...

12 years ago | 0

Answered
How do I convert a string input to an executable equation?
Depending on what their equation uses eval (see <http://www.mathworks.com/help/matlab/ref/eval.html>) might work. if i remember...

12 years ago | 2

Answered
where am i going wrong? i get errors when i multiply the functions
couple of things with your line. # for the t=1:1.1:2 are you attempting to get t=1 to 2 with increments of .1? if so it sho...

12 years ago | 0

Answered
How to import around 1000 text files and then convert them from cnv files to matlab files and then organize them in a structure with their original file name?
It looks like you already have something that converts a single cnv file which you can utilize. If all the cnv files are in t...

12 years ago | 0

| accepted

Answered
How do I program push button to request user input and insert it into array?
It all depends on whether you want the prompt within GUI or popup question to show up. Perhaps the function inputdlg() would wo...

12 years ago | 0

| accepted