Respondida
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...

más de 7 años hace | 0

| aceptada

Respondida
Find coefficient for the best second-order polynomial that fits my data, using least-square fitting
Try: help polyfit HTH

más de 7 años hace | 0

| aceptada

Respondida
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 ...

más de 7 años hace | 0

| aceptada

Respondida
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...

más de 7 años hace | 0

Respondida
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...

más de 7 años hace | 0

Respondida
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 ...

más de 7 años hace | 0

Respondida
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... ...

más de 7 años hace | 0

Respondida
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...

más de 7 años hace | 0

| aceptada

Respondida
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...

más de 7 años hace | 0

Respondida
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

más de 7 años hace | 1

| aceptada

Respondida
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 ...

más de 7 años hace | 0

| aceptada

Respondida
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...

más de 7 años hace | 1

Respondida
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....

más de 7 años hace | 0

Respondida
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...

casi 8 años hace | 0

Respondida
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 ...

alrededor de 8 años hace | 0

Respondida
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...

alrededor de 8 años hace | 0

Respondida
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

alrededor de 8 años hace | 0

Respondida
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...

alrededor de 8 años hace | 0

Respondida
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).^...

alrededor de 8 años hace | 1

| aceptada

Respondida
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-...

más de 8 años hace | 0

Respondida
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...

más de 8 años hace | 0

Respondida
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 ...

más de 8 años hace | 1

Respondida
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 ...

más de 8 años hace | 0

Respondida
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 ...

más de 8 años hace | 0

Respondida
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 ...

más de 8 años hace | 0

| aceptada

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

más de 8 años hace | 0

Respondida
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...

más de 8 años hace | 0

Respondida
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...

más de 8 años hace | 0

Respondida
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...

más de 8 años hace | 0

| aceptada

Respondida
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...

más de 8 años hace | 0

Cargar más