Enviada


check4nameclashes
checks for name-clashes between m-files found in a directory and its subdirectories and files in directories on the the current ...

más de 5 años hace | 1 descarga |

0.0 / 5

Respondida
Changing a double type cell in "HH:MM:SS" format.
Well you get an output from datestr: datestr(4.099215427200000e+09,'yyyy mm dd HH:MM:SS') ans = '3270 08 21 04:47:59' Yo...

más de 5 años hace | 1

Respondida
Symbolic sin(pi) in Matlab 2020 a not simplify
That is because your definition of pi as a symbolic variable that hides the built-in pi. Try: which pi -all or: sym x pi = 4...

más de 5 años hace | 1

Respondida
How can I solve the following derative problem in Matlab ?
When you assign: t = -1; t becomes a standard double scalar, and is no longer a symbolic variable. So that's where you go comp...

más de 5 años hace | 0

| aceptada

Respondida
Problem with the latex eps format
When you write to postscript-format matlab (still) makes "clever" choises about how to write the file. Try to enforce vectorized...

más de 5 años hace | 1

| aceptada

Respondida
converting from sym to double
Most of the time I want to convert a symbolic expression to something else I use matlabFunction: syms s x real f = int(cos(s^2...

más de 5 años hace | 0

Respondida
How can I solve non-linear differential equations?
The ODE-integrating functions of matlab are well suited to solve this kind of problems. Have a look at the help and documentatio...

más de 5 años hace | 0

Respondida
Finding Dominant Frequency and Phase using FFT
Change your function to cos((2*pi*fmod*t) + pdelay) and re-run your code-snippet. Also check what happens when you reduce your ...

más de 5 años hace | 0

| aceptada

Respondida
Fourier Series of a function the is exponential
Think about this question like this: What is the Fouriertransform of a harmonically varying signal with constant amplitude and ...

más de 5 años hace | 0

Respondida
Simulate image data representative of a real experiment
If it is enough for you to put particles at discrete pixel positions you could do something like this: nP = 123; dIm = spallo...

más de 5 años hace | 0

| aceptada

Respondida
Distortion Correction without any camera information
To my understanding you are supposed to fit the polynomials to the full set of points, not row-by-row but all 36 points. That sh...

más de 5 años hace | 0

Respondida
Isnan use inappropiate?
If you do the blurring this way you can (or should, perhaps even "have to") slightly modify your indexing, this can be conventie...

más de 5 años hace | 1

Respondida
Getting linear results from ODE45 instead of exponential
When you look at the result you have to start looking at how big the different components of the forces are along the trajectory...

más de 5 años hace | 0

Enviada


ratio_of_uncorrelatednormalpdf
RATIO_OF_UNCORRELATEDNORMALPDF probability density function of ratio between two uncorrelated normal distributed variables.

más de 5 años hace | 1 descarga |

0.0 / 5
Thumbnail

Respondida
How to find integral over 2D image
If you want to have dW at the same resolution as your original image, just add the four terms together. If you want some local s...

más de 5 años hace | 0

Respondida
Intersection of a 2D polygon in 3D and a straight line
OK, you'll get a bit of pseudo-code/algebra, that solves most of the problem. Lets write the equation for the plane as: that ...

más de 5 años hace | 1

| aceptada

Respondida
Gaussian envelope on the diagonal of a matrix
Something like this: [x,y] = meshgrid(0:32); M = exp(-(x-y).^2/4^2); imagesc(x(1,:),y(:,1),M) Adjust width as you see fit. ...

más de 5 años hace | 1

Respondida
How do I add scale markers to the legend, to indicate values for the sizes of points in a scatter plot?
I'd do something like: sz = 12:2:24; % your suitable selection for your dimentionC-mapping-to-size y4size = linspace(45,110,...

más de 5 años hace | 0

| aceptada

Respondida
Need help with perimeter of polygon
Have a look at the help and documentation of the convhull function. HTH

más de 5 años hace | 0

Respondida
Differentiate with respect to a symbolic function
When I've used the Euler-Lagrange method I've used this tool: Euler-Lagrange tool (that handles this). If you need to solve a pr...

más de 5 años hace | 1

Respondida
Change folder that Matlab saves session information
Which version are you using? How much space does .matlab take? On my machine I have subdirectories for 2013a, 2015a and 2020a,...

más de 5 años hace | 0

| aceptada

Respondida
Cannot calculate gradient of contour plot
If you modify your call to gradient to: [FU, FV] = gradient(F, diff(y(1:2)), diff(x(1:2))); You get a more reasonable set of q...

más de 5 años hace | 0

| aceptada

Respondida
I would like to take double integral over standard normal distribution but it does not work.
Your problem might be that the symbolic toolbox have no way of knowing that your correlation is between -1 and 1. If you try the...

más de 5 años hace | 0

| aceptada

Respondida
I tried to run my script written in 2017a in R2020b: Error using load Unable to read file 'coast.mat'. No such file or directory. Any idea on how to solve it?
Well you will somehow find the missing file. The reason you now get the error is because matlab-2020b for some reason cannot fin...

más de 5 años hace | 0

Respondida
Why am I warned about defining variables in a nested function, when I don't?
Because nested functions share the name-space with its parrent function. That is all variables in the parrent function are avail...

más de 5 años hace | 4

Respondida
How to write a video from png files and/or matlab figures
Try modifying your call to writeVideo to this: currFrame = getframe(gcf); writeVideo(vidObj,currFrame); HTH...

más de 5 años hace | 0

| aceptada

Respondida
how do i make this contour plot more presentable
The crossing contours confuse/worry me, are you adding additional contours from another data-set ontop of your contourf-plot? ...

más de 5 años hace | 0

| aceptada

Respondida
Contourf fill smaller instead of larger
You "simply" have to create a colormap that is white (or suitable levels of pale, or black in case of that making more esthetic ...

más de 5 años hace | 0

Respondida
Is it possible to determine the angle of rotation for this graph?
If you have your signals in y1 and y2 you can try to use circshift with an incremental shift until you see a reasonable fit. You...

más de 5 años hace | 0

| aceptada

Respondida
How to create 2D Polar (r, theta) mesh?
What's not good enough with something like this: n_phi = 15 phi = linspace(0,pi/2,n_phi+1); % should give you 15+1 edges and 1...

más de 5 años hace | 1

Cargar más