Respondida
what precautious should i follow before upgrading to higher matlab version?
Read the release-notes. Check if your (most used) functions and programmes warns about "functionality will be removed" when you ...

más de 3 años hace | 1

| aceptada

Respondida
Coordinate Systems for using Camera Calibration
Think of it this way: Each pixel (u,v) in the image are capturing light along some line in 3-D. You can write that line as: H...

más de 3 años hace | 0

| aceptada

Respondida
How to setup the colormap by myself?
You can combine one row of white and the turbo colormap: cmp = [1,1,1;turbo]; colormap(cmp) This leaves the problem with the ...

más de 3 años hace | 0

| aceptada

Respondida
How can I display a 3D image of a 10x10x10 matrix? Each cube has a value between 1-10.
You should be able to generate a figure like the cube you show by utilizing the slice-function. Something like this: % Mocking ...

más de 3 años hace | 1

Respondida
How to find angle for a curve in an image??
Since it is a bit unclear exactly how you're going about to select which points belong where you'll get a very general answer. C...

más de 3 años hace | 0

Respondida
How to make a 2D pseudocolor (pcolor) plot in triangle shapes instead of a square shape with triangle cordinates data?
This sounds like a task for trisurf. Check the help and documentation to that function. If you want the pcolor rather than the s...

más de 3 años hace | 1

Respondida
reverse lookup table from vector multiplikation with unknown vectors
This problem will be very "variably difficult" depending on the size of the vectors. It also might not have an easily found glob...

más de 3 años hace | 0

Respondida
Euler showing exponential growth instead of steady state: Monod growth equation
Instead of using this explicit integratin of your coupled (?) odes with Euler's method, you should learn to implement the ODEs i...

más de 3 años hace | 0

Respondida
how to replace a symbolic variable with a real one after computation?
Perhaps straight conversion of the symbolic expressions to functions (function-handles, dynamical functions) with the matlabFunc...

más de 3 años hace | 0

Respondida
Problem plotting the trajectory of electron in static electromagnetic field
When you let the symbolic solver handle your equations of motion it might be safer to simply give dsolve the second-order equati...

más de 3 años hace | 1

| aceptada

Respondida
How to add clockwise and anti-clockwise direction arrow in Plotting in Matlab
Download these two file exchange arrow-drawing contributions: arrow3 arrow They will be useful arrow-drawing functions for al...

más de 3 años hace | 0

Respondida
Saturation limit on 16 bit image in MATLAB
To just look at the maximum pixel-intensity is not the best of ways to handle this. For science-grade cameras you typically get ...

más de 3 años hace | 0

Respondida
Removing outliers from a matrix
QD-answer: The best you can do for single pairs of columns is to only use the rows where neither are outliers. With the cov-func...

más de 3 años hace | 0

Respondida
How to calculate the volume of tumor in logical image
You can simply calculate how many cells (voxels?) in your labels-variable are 1: Voxels = sum(labels(:)==1) That is the number...

más de 3 años hace | 0

| aceptada

Respondida
Matlab is in the wrong working path, how to set it?
Generate full (or relative) path to the file you want to load: data_dir = '/home/me/data'; data_file = 'mydata.mat'; file2loa...

más de 3 años hace | 0

Respondida
How to save 7 different large matrix (for Landsat 7 bands) in one variable?
Break down your loops into something simpler first. Skip the outermost one and select one date that you know you have data from....

más de 3 años hace | 0

Respondida
Volumetric slice plot missing data
This is a well-known feature of the pcolor-surf-slice functions. If they are given arrays x, y and V (for pcolor and surf) the v...

más de 3 años hace | 0

Respondida
esitimate parameter and curve fitting kinetic model
Is your model correct? To my (very much non-biology-expert) eyes the ODE for c(1) seem to reduce to: dcdt(1) = C(1)*k*(1/K - 1)...

más de 3 años hace | 0

Respondida
Unexpected behavior of FFT
In the field (IS-radar) I work we have typical carrier-frequencies of 224-1000 MHz and the modulation band-width is a couple of ...

más de 3 años hace | 0

Respondida
HELP need to run Chebyshev code!
Save your chebeval-function in a separate file chebeval.m. Then call that function from your script. For now you can put both sc...

más de 3 años hace | 0

| aceptada

Respondida
SIR model with recovered individuals may lose their immunity and become reinfected with the disease. But came with a failure about integration tolerances
You have an error in the SIR-equations. They should look something like this: %% fc_ode_SIR function dq = fc_ode_SIR(~,q,p) % ...

más de 3 años hace | 0

Respondida
Skipping certain lines using fscanf
For this rather loose file-format specification that you've been given (meaning that in a couple of days, weeks or months it wil...

más de 3 años hace | 0

Respondida
PLOT surface using 3 vectors of same length (NEED HELP!!!)
You can use multiple indices in the variables you create. For example if you do things like this: b=0; for i = -200:1:200 ...

más de 3 años hace | 0

Respondida
Gradient Descent Implementation on a function, as opposed to an equation
You could do something like this: 1, rewrite the function to take an array as input-parameter instead of a number of scalar par...

más de 3 años hace | 0

| aceptada

Respondida
Y-values for the histogram
Perhaps you look for histcounts? Seems like that is the function that returns what is plotted in histogram. HTH

más de 3 años hace | 0

| aceptada

Respondida
How to fix "matrix dimensions must agree" error
Whe you run into problems like this you will have to learn to use the debug-capabilities of matla. Do this at the command-line: ...

más de 3 años hace | 0

Respondida
adding counts of ordered pairs
One way to go about this is to use sparse: A1 = [1 4 3; 3 5 1; 12 4 7; 13 5 2; 14 1 1]; A2 = [1 5 ...

más de 3 años hace | 0

| aceptada

Respondida
How to use Eigenvector and Eigenvalues of a matrix to formulate Entropy equation?
First you should extract the eigenvalues from the diagonal matrix (mainly for convenience): vLambda = diag(Vect); Then you wan...

más de 3 años hace | 0

| aceptada

Respondida
Simultaniously fitting 4 functions: two functions share all parameters, all four functions share one parameter
function errtot = four_errorfcns(pars1to5,Xall,Yall,sigmaYall) err1 = sum( ( f1(pars1to5(1:3),Xall(1,:))-Yall(1,:) ).^2/sigmaYa...

más de 3 años hace | 0

| aceptada

Respondida
How to create stacked quiver plots?
This sounds like a straight use of quiver3? Either h1=quiver3(slice2(:,1),... slice2(:,2),... slice2(:,...

más de 3 años hace | 1

| aceptada

Cargar más