photo

Mike Hosea

Last seen: 12 jours il y a Actif depuis 2011

Followers: 1   Following: 0

Statistiques

All
MATLAB Answers

0 Questions
253 Réponses

File Exchange

1 Fichier

RANG
139
of 298 615

RÉPUTATION
884

CONTRIBUTIONS
0 Questions
253 Réponses

ACCEPTATION DE VOS RÉPONSES
0.00%

VOTES REÇUS
194

RANG
4 533 of 20 624

RÉPUTATION
309

CLASSEMENT MOYEN
4.80

CONTRIBUTIONS
1 Fichier

TÉLÉCHARGEMENTS
9

ALL TIME TÉLÉCHARGEMENTS
2593

RANG

of 161 826

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • 5-Star Galaxy Level 4
  • Personal Best Downloads Level 2
  • First Review
  • First Submission
  • 12 Month Streak
  • Thankful Level 3
  • Pro
  • Revival Level 3
  • Knowledgeable Level 5
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
Codegen fails with "wrong number of input arguments" while function calls without error
I can't find where this behavior of INTERPN is documented. To the contrary, we have: >> help interpn interpn N-D inte...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
Matlab Coder Error: The output of the ODE function must be a column vector
I have to admit the problem here is pretty hard to diagnose. The problem actually traces back to the definitions of A and B: [...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
medfilt1 medifilt2 or movmedian
Long ago there was only medfilt1 and no movmedian. Then there was both. Now medfilt1 calls movmedian. That fact severely limi...

environ 3 ans il y a | 1

| A accepté

Réponse apportée
Is there any other way to use coder for accumarray() ?
Not in 18b, I think. Support for accumarray was added in 19a, if memory serves.

presque 6 ans il y a | 1

| A accepté

Réponse apportée
EIG incorrect for large matrices when compiled into C on speedgoat target computer
Bit difficult to debug from here. Is your code calling the initialize and terminate functions for the library you are generatin...

presque 6 ans il y a | 0

Réponse apportée
ERROR: floating constant is out of range
That number is well within the range of IEEE double precision floating point numbers, but the TI TMS320F28379D has native 32bit ...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
How can I translate matlab functions to C/C++ void functions using codegen?
The code generator is usually smart enough to detect when computations have no side effects and have no impact on return values....

environ 6 ans il y a | 2

| A accepté

Réponse apportée
what is the significance of 3.3121686421112381E-170 ?
Walter is on the right track. What we see above is essentually a loop-unrolled version of the reference BLAS algorithm of DNRM2...

environ 6 ans il y a | 2

| A accepté

Réponse apportée
How can compile in C/C++ the lpc funciton ?
Extrinsic calls can work only when the target is mex or one is simulating in Simulink. This is because extrinsic calls are call...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Coder, randsample: Variable 'edges' is not fully defined on some execution paths.
This is a bug in the code generation version of RANDSAMPLE. The compiler is complaining about a situation that it really doesn'...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
Multiple calls to interpn using same vectors
Unfortunately, there will be a separate look-up for each call. The only thing I can think of is to find the bounding box yourse...

environ 7 ans il y a | 1

| A accepté

Réponse apportée
how use Curve Fitting functions in Matlab coder?
I'm not sure what you need. MATLAB Coder does support the SPLINE, PCHIP, and PPVAL. I don't know that much about what C libr...

presque 8 ans il y a | 0

| A accepté

A soumis


integralN.m
Compute Multiple Integrals of Orders 4, 5, and 6

plus de 8 ans il y a | 9 téléchargements |

4.8 / 5

Réponse apportée
How can I calculate this triple integral when I have a rotated euler matrix. All that is attached in the file,
INTEGRAL3 does not support integrating a matrix of functions. For example, suppose you wanted to integrate f = @(x,y,z)[co...

plus de 9 ans il y a | 0

Réponse apportée
Why i have this errors in my triple integral ? change numeric methods ?
Well, theoretically like this: ss=0.6; T=0.1; a = 0.0001; f2 = @(r,b,g) 1./(r.^2.*sqrt(1 - (b./r).^2 - (g^-2)*...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
how can I solve a triple integral (x,y,z) with y not defined
Your integrand will be evaluated at an array of points each time (not just with one x, y, and z!), so it must return an array of...

plus de 9 ans il y a | 0

Réponse apportée
Matlab R2015a coder error:Dimension 1 is fixed on the left-hand side but varies on the right ([1024 x 1] ~= [:? x 1]).
Use coder.varsize to create a variable-size copy of the Phi input. Rename the Phi input to something like PhiInput and just bef...

presque 10 ans il y a | 2

| A accepté

Réponse apportée
Generating c++ Code from *.slx
I'm not in sales, so I could be out-of-date in my recollection of how the product catalog is built, but my understanding is that...

presque 10 ans il y a | 0

Réponse apportée
randn() function generates the same sequence whenever I called it.
Every time you start MATLAB it will deliver the same sequence if you don't provide your own seed first. Your generated code mus...

presque 10 ans il y a | 1

Réponse apportée
simulink matlab function block error
You need to tell the compiler what the output of lqr will look like. Kr = zeros(1,2); % Define the output type for the extr...

presque 10 ans il y a | 3

| A accepté

Réponse apportée
Run ANY matlab Function.m from simulink simulation
If you just want to run it from Simulink, just call _your_ function as extrinsic. For example if your function is called myfun(...

presque 10 ans il y a | 1

| A accepté

Réponse apportée
Matlab Coder : Error using interpolation function interp1(x,y,z,'spline');
This all works fine for me. I just tried it in 15a. INTERP1 doesn't need to do anything fancy to figure out the _size_ of the ...

presque 10 ans il y a | 0

Réponse apportée
Anyone know where to begin truing to solve an nth order integral? (n up to 10)
There's a good reason why there's no integraln function. There's a function called integralN on the file exchange that goes up ...

presque 10 ans il y a | 0

Réponse apportée
How can I shrink the time of getting the results please?
That code never gave you results because it isn't working--there is a syntax error. Specific suggestions are therefore hard to ...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
triple integral of parametrized function
Something like this? psf = @(x,y,z)exp(-2*(x.^2+y.^2)-2*z.^2); fun1 = @(k,e,x,y,z)((e.*psf(x,y,z)).^k).*exp(-e.*psf(x,y,...

environ 10 ans il y a | 1

| A accepté

Réponse apportée
A and B must be floating-point scalars.
>> help integral integral Numerically evaluate integral. Q = integral(FUN,A,B) approximates the integral of functi...

environ 10 ans il y a | 0

| A accepté

Réponse apportée
Why does integral2 function changes the array size of variable over which integration is performed?
The iterated mode uses adaptive quadrature in each dimension, though your integrand function will, in a sense, be aware of only ...

environ 10 ans il y a | 1

| A accepté

Réponse apportée
Inner matrix dimensions must agree.
You wrote I =@(x) U(x)*H(x)*D(x); That is probably not right. The * operator is _matrix_ multiplication. You probably...

environ 10 ans il y a | 1

Réponse apportée
İntegral with array boundaries Need help
I've answered this question in a follow-up comment on the other question. It will work, but you have to debug your code. You w...

environ 10 ans il y a | 0

Réponse apportée
synchronization of matlab function blocks
The MATLAB Function Block can return arrays. The problem with your code is probably just that you can't return the *persistent*...

environ 10 ans il y a | 0

| A accepté

Charger plus