Réponse apportée
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...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
Find coefficient for the best second-order polynomial that fits my data, using least-square fitting
Try: help polyfit HTH

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 7 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 8 ans il y a | 0

Réponse apportée
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...

presque 8 ans il y a | 0

Réponse apportée
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 ...

presque 8 ans il y a | 0

Réponse apportée
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... ...

presque 8 ans il y a | 0

Réponse apportée
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...

presque 8 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 8 ans il y a | 0

Réponse apportée
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

environ 8 ans il y a | 1

| A accepté

Réponse apportée
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 ...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 8 ans il y a | 1

Réponse apportée
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....

environ 8 ans il y a | 0

Réponse apportée
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...

environ 8 ans il y a | 0

Réponse apportée
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 ...

plus de 8 ans il y a | 0

Réponse apportée
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...

plus de 8 ans il y a | 0

Réponse apportée
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

plus de 8 ans il y a | 0

Réponse apportée
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...

plus de 8 ans il y a | 0

Réponse apportée
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).^...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
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-...

plus de 8 ans il y a | 0

Réponse apportée
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...

plus de 8 ans il y a | 0

Réponse apportée
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 ...

plus de 8 ans il y a | 1

Réponse apportée
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 ...

plus de 8 ans il y a | 0

Réponse apportée
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 ...

presque 9 ans il y a | 0

Réponse apportée
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 ...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
I want to find out Frequency and Power of this time signal.
Use the |spectrogram| function HTH.

presque 9 ans il y a | 0

Réponse apportée
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...

presque 9 ans il y a | 0

Réponse apportée
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...

presque 9 ans il y a | 0

Réponse apportée
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...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 9 ans il y a | 0

Charger plus