Frage


How to find zeros of determinant having complex parameter ?
How to find the zeros of the determinant of 4x4 matrix M which is multiplication of N complex square matrices An containing para...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to solve (find zero) of nonanalitical function fzero or fsolve ?
I have a vector y(x) that does not necessarily have point on y = 0 axis (and is not analytical function). How can I solve (f...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to implement conformal transformation that wrap 2D image around a circle?
How to transform rectangular image to image that is bent at certain radius? On the plot the center line follows the radius whic...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to find the index of the closest value to some number in 1D array ?
How to find the index in 1D array that has closest value to some number ? val =-1.03 val1 = 1.04 x = -10:0.009:10 ...

etwa 9 Jahre vor | 4 Antworten | 2

4

Antworten

Frage


How to integrate the following function ?
<</matlabcentral/answers/uploaded_files/27869/dn.jpg>> How would you integrate this function ignoring the rect ? dx dz a...

etwa 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Could exponent of an array be inproved in speed ? Maybe mex file with exp function (reduced accuracy) for windows 64 bit.
Could this line of code be improved in speed ? MM is an array 512x512^2 elements. MM =ones(512^2,512); tic; exp(1i*(MM)...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Could you please compile this as mex for windows 64 bit ? I can not run the compiler. Faster exp function with reduced accuracy.
Code for Exp function with reduced accuracy. I can not compile it. Code from <https://www.mathworks.com/matlabcentral/news...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to vectorize sum of scaled matrices ? Or is there matlab function for irregular inverse dft ?
I am trying to inverse transform function on irregular grid. Is there matlab function for irregular inverse dft ? I would...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to call element from vector out of t = @(theta) x*cos(theta)-y*sin(theta);
x = linspace(1,10,10); y=x; t = @(theta) x*cos(theta)-y*sin(theta); t(0.1) will give me vector. How to get element 5 ...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to vectorize loop of fft ?
How to vectorize a for loop of fft ? clear all W = ones(1,100)*1.5; y(1:200,1:100) = 0.3; ...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to store 1x3 vectors in (n,m) position of 2D matrix in a for loop ?
How to build nested array of 1x3 vectors in the (n,m) posision of 2D matrix in a for loop? And then how to access the n,m vec...

etwa 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Phase retrieval via SDP (semidefinite program)
I would like to have phase retrieval of test picture 2D let say phantom X = phantom('Modified Shepp-Logan',200); X =...

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten