Answered
Regarding Interpolation( vertical)
A = rand(5,5,34,5); [ii jj kknew LL] = ndgrid(1:5,1:5,linspace(1,34,15),1:5); C = interpn(A,ii,jj,kknew,LL); You could ju...

15 years ago | 1

Answered
How to plot real-time with nidaq, but see the entire graph as it is plotting?
Use a timer function with a |timerperiod| of give or take 0.25s (depends on how fast your machine is) Use the |peekdata| functi...

15 years ago | 0

Answered
3d volume of concave and convex hull of open surface
Is the dip convex? If it is then you could use the second output of convhulln and subtract the convex 'dip' from the convex h...

15 years ago | 0

Answered
strcat two char arrays, how to remove the space?
val(:,15) = []; %just delete that column

15 years ago | 1

| accepted

Answered
how to count specific numbers in a matrix?
sum(X(:)>100);

15 years ago | 1

| accepted

Answered
How can I interrupt a movie based on user input to a GUI
A totally different approach: Instead of playing the movie with |movie|; write a function that traverses the frames and display...

15 years ago | 1

| accepted

Answered
How to read image in web browser
I = imread('http://l1.yimg.com/i/i/ab-mk/metro/polic11.jpg'); works fine for me... no reason for web

15 years ago | 0

| accepted

Answered
How can I interrupt a movie based on user input to a GUI
You could kill the axes inside a |try/catch| block so that the error is not reported and so that nothing bad happens.

15 years ago | 0

Answered
loading multiple excel files in a loop
Have you read: <http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F FAQ4.12>?

15 years ago | 0

Answered
Parameterization
Maybe: <http://www.mathworks.com/matlabcentral/fileexchange/30892-representing-polyhedral-convex-hulls-by-vertices-or-inequaliti...

15 years ago | 0

Answered
How to exclude points when calculating the normalized cross correlation coefficients with normxcorr2?
I think I would start by creating a second image with the bright white pixels interpolated over. *MORE* <http://scribblethink....

15 years ago | 0

Answered
discrete fourier
doc fft %?

15 years ago | 0

Question


How to show a colorbar of a certain range?
Hello all and happy Friday! Let's say I have an image with a colormap and corresponding colorbar I = imread('cameraman.t...

15 years ago | 5 answers | 0

5

answers

Answered
Mean of highest n numbers for each row in a matrix
A = sort(Matrix,2,'descend'); %sort it so big numbers first B = mean(A(:,1:n),2) %mean them

15 years ago | 0

| accepted

Answered
How to show registered image after slecting and saving control point through cp select tool
like doc imshow %? Or are you trying to recover a translation? You could also use my: <http://www.mathworks.com/matla...

15 years ago | 0

Answered
Plotting in Multiple Figures inside Loop
Yes; build you data1-3 vectors inside the loop and then plot once after it.

15 years ago | 0

Answered
Detecting Water Droplets
perhaps an imdivide %?

15 years ago | 0

Answered
Solving nonlinear system using Fsolve function
x = x(1); y = x(2) you overwrite x by saying x = x(1)...

15 years ago | 0

Answered
Image Processing on Matlab
Perhaps try: |imread()| doc imread and maybe doc tiff

15 years ago | 0

Answered
Script won't run..
When you open MATLAB is there something in the command window that reads along the lines of: "Your license will expire in X d...

15 years ago | 0

Answered
Index exceeds matrix dimensions
dbstop if error size(wtm_sortedv(i,:)) size(wtmc(minrow,:)) should tell you what the size discrepancy is.

15 years ago | 0

Answered
question
with |axes| okay that was a lame joke. What do you mean divide? doc mat2cell doc blkproc %if Image Processing Toolb...

15 years ago | 0

| accepted

Answered
finding the exact thrreshold for im2bw
It is calculated from the range of the class(im) range = getrangefromclass(A); BWp = (A > range(2) *level); Is the engine:...

15 years ago | 0

Answered
Can Matlab determine cursor position continuously?
See Matt Tearle's |doodle| function in this thread: <http://www.mathworks.com/matlabcentral/answers/9472-help-with-basic-matl...

15 years ago | 0

Answered
angle calculation in 3D space
Your equation looks right to me. Well, that is it looks like what Roger recommends frequently: <http://www.mathworks.com/mat...

15 years ago | 0

| accepted

Answered
Making mesh from independent variables
doc griddata doc triscatteredinterp to get your irregular mesh to a regular one. Z has to be 17x17 to have a combination f...

15 years ago | 0

Answered
Scalar division and Subtraction ?!!
t converges to: -20888 -6288 -21753 -12576 -14600 -16254 All of those are less than T. The w...

15 years ago | 1

Answered
Placing image above contour lines
my: <http://www.mathworks.com/matlabcentral/fileexchange/29485-meshcanopy FEX: meshCanopy> function looks like it does what you ...

15 years ago | 0

Answered
Using return values of functions without storing them?
save2 = @(x)x(2,1); z = pi*save2(eig(b)); Does what you want but is probably not faster.

15 years ago | 0

Answered
Surface fit of a 3d scatter plot
doc griddata No, more like: x = your_matrix(:,1); y = your_matrix(:,2); z = your_matrix(:,3); [xgrid ygrid] = meshgrid(1:5...

15 years ago | 2

Load more