Answered
How do I make a 2D density plot using 3 sets of coordinates?
After some searching this ListDensityPlot function seems to be similar to the matlab-function: pcolor Perhaps if you have thre...

7 years ago | 0

| accepted

Answered
Why my barchart's 'xticklabel' is skipping the odd numbers and adding 0 and another number at the end?
Well, matlab has its own way to select and adjust what tick-marks should be used. What you can add at the end is something like ...

7 years ago | 0

| accepted

Answered
How can I find a fit to my data points and using triangulation to approximate the planar area?
One thing you could try to squeeze around some difficult parts of your problem is to run through a coordinate transformation - f...

7 years ago | 0

Answered
Image Processing with data of type single
For sake of simplicity - convert every image to double if you possibly can memory-wise. That way you won't have to deal with obs...

7 years ago | 0

Answered
Problem installing matlab in ubuntu
Sounds like you have tried to make a systems installation while being a normal user - then yuo would not have write permissions ...

7 years ago | 0

Answered
Changing the matlab seed
Your question is a bit on the vague end - but I'll guess that you're asking about the seed for the random number generator... ...

8 years ago | 0

Answered
How can I find the starting point of the flows in optical flow?
Well, in principle you can determine sources and sinks of a flow by looking at its divergence. Regions with divergence larger th...

8 years ago | 0

| accepted

Answered
Suppose I have a set of points xi = {x0,x1,x2,...xn} and corresponding function values fi = f(xi) = {f0,f1,f2,...,fn}, how to find derivative
Surely this is homework/introductory exercise? # Have a look at the definition of derivative. # Think about what you can ach...

8 years ago | 0

Answered
Substitute all the values in a matrix
In this case: M(:,1:2) = M(:,1:2)-38; scatter3(M(:,1),M(:,2),M(:,3),M(:,3)*1000,M(:,3),'filled') HTH

8 years ago | 1

| accepted

Answered
Warning: Rank deficient, rank = 0, tol = NaN.
Have a look at try catch end That way you might be able to put the curve fitting (or other fragile attempts) in ...

8 years ago | 0

| accepted

Answered
If I try to solve ODE45 for the following, I am getting msg"Inputs must be floats, namely single or double. Can anybody tell me how to rectify? I am new to Matlab
The ode-suite (ode45, ode23,...) are intended to numerically integrate ordinary differential equations, you seem to feed ode45...

8 years ago | 1

Answered
I am trying to get the height of a flying object from the ground using single camera
Perhaps, provided that you know the physical sizes of the object and the field-of-view of your camera then it might be possible....

8 years ago | 0

Answered
How can we know wavelengths color of blue is exactly 480nm?
You can determine the exact wavelength of a colour (emission or reflection) by spectroscopic measurements. That would give you a...

8 years ago | 0

Answered
Matlab fft vs Sac fft
Check the documentation of both for how the normalization of the ffts are done. typically there are a factor of 1/N that should ...

8 years ago | 0

Answered
How do I resolve the problem "Nonscalar arrays of function handles are not allowed; use cell arrays instead." associated with this code? Thanks
If you need an array of function handles you have to use something like this: % Define: fcn_array{1} = @(t,x,k,w) 12...

8 years ago | 0

Answered
How to stop ode45 when value reach certain value other-than zero
You should be able to use the "events handling", look at the code for ballode.m for an example on how to handle it. HTH

8 years ago | 0

Answered
What is the clock function?
Well If the documentation for the simulink element clock doesn't help you have a look at the output of your function call, what...

8 years ago | 0

Answered
Problem with: “Integers can only be raised to positive integral powers.”
Cast both numbers to double (if that's the operation you want): qwe = int16(256); asd = int16(3); zxc = double(qwe).^...

8 years ago | 1

| accepted

Answered
How to noise filter Raman intensity images of cells
It might be a bit tricky to guess exactly what filtering Reinshaw-WiRE does, but I'll take a stab... Assuming that PCA-noise-...

8 years ago | 0

Answered
how can i get the original from cropped image?
Huh? Do you want to put the 460x460 image back into an equally sized region somewhere in a 512x512 image? How does that "reco...

8 years ago | 0

Answered
Solving A{k} * x + b = 0 for large numbers of A{k} with same structure/filling.
While we are waiting for good replies I can only suggest that you look at Tim Davis' contributions at the file exchange (in the ...

8 years ago | 1

Answered
Is the Fourier series the best way to decompose a sinusoidal signal?
Have a look at your function - it is obviously not a sinusoidal function that's periodic over your interval. Further, obviously ...

8 years ago | 0

Answered
System of linear equation with mixed solution
When trying the direct equation-solving matlab-solution neither of the components of X is close to being a real number, neither ...

8 years ago | 0

Answered
I want to fuse image PET-CT
When you look at CT-slices you have to decide how to visualize them. In case all your slices are from different time-steps in a ...

8 years ago | 0

| accepted

Answered
I want to find out Frequency and Power of this time signal.
Use the |spectrogram| function HTH.

8 years ago | 0

Answered
Color Detection using LAB Color Space
There are a couple of submissions on the file exchange that solves this very task. Take a look at this <https://se.mathworks.co...

8 years ago | 0

Answered
Deconvolution gives Inf results - MATLAB precision error?
In the case where |deconv| is failing and you have access to the image processing toolbox you have the image deconvolution funct...

8 years ago | 0

Answered
I want to find the average of n data points in an array and cycle through to create a new array.
Depending on your future likelihood of using different levels of matlab read up on howtos and introductions to use matlab. T...

8 years ago | 0

| accepted

Answered
How to create a vector with certain numbers?
something likethis would do it for you; nMax = 1e6; Vals = 20:10:(10*(nMax+1)); % whatever values you want [X] = me...

8 years ago | 0

Load more