photo

htrh5


Last seen: etwa ein Jahr vor Aktiv seit 2015

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


How to interpolate PDE solution to cartesian grid
I can plot a solution using pdeplot(p,e,t,'xydata',u) but I want to interpolate my answer to a cartesian grid so that I can do o...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


chebyshevT is too slow
This function takes an eternity to compute. I have written a workaround that works about 75 times faster for me but I am curious...

mehr als 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Parameter Optimization in an interval
I have a scoring function asd that takes 4 parameters. Normally this works: [m n]=fminsearch(asd,[40,40,0.04,0.75] , ... ...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Surf rotation/size
When I view the surf plot of a 2D data, it looks normal from any single angle but when I start to rotate it, matlab automaticall...

fast 9 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


Creating 4D vector inside parfor
This is what I have parfor i = 1:N/k tti=-sqrt(N)/2+(i*k-k)/sqrt(N); [ap,~]=meshgrid(tau/2+tti,tau/2); ...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Using spline as an interpolating function
ts = linspace(-10,10,1024); fs = func(t); Lets say I do not have access to |func|. Normally I can't use |f| as a functi...

fast 9 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


parallel for loop in mex
The outer loop in this code should be parallelizable #include "mex.h" #include "matrix.h" #include <math.h> ...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Quitting matlab unresponsive due to memory (maybe)
When I try to make matlab deal with, say 16384*16384 matrix (or maybe the function needs to use a few of such matrices in it), m...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


The variable in parfor cant classified
parpool(3) parfor n = 1:N a=n/60; for u_p=1:length(t) x_a(n,u_p)=sqrt(1-1i*cot(a*pi/2)...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Help calling a matlab function in a mex function
EDIT: See my answer below for clarification. I want to modify sincall example to make it display besselj(0,x) #include "...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Help calling a matlab function in a mex function
forgot about pointer stuff, oups. This fixed it: rhs[0]=mxCreateDoubleMatrix(1, 1, mxREAL); double* pw=mxGetPr(r...

etwa 9 Jahre vor | 0

| akzeptiert

Frage


Displaying extra information for datapoints on a plot
Lets say I have two vectors x and y, which describe the position. When I plot them, I want to click on a data point and be able ...

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort