photo

patrick1704


Last seen: environ 2 mois il y a Actif depuis 2014

Followers: 0   Following: 0

Message

Statistiques

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

Réponse apportée
Matlab function with initial long execution time
Matlab uses a just-in-time compiler that compiles the code at first execution and basically creates the executable code. This is...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
How to use Birnbaum-Saunders dist in SImulink
Hi there, if you are not required to fulfill special coding guidelines, the Matlab function block is always an option, with whi...

plus de 2 ans il y a | 0

Réponse apportée
Optimization Problem for ecms fcmincon
Hi there, the active-set algorithm you specified in your script is discussed in this Matlab article: Constrained Nonlinear Opti...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
Find minimum in matrice
Hi, If you only care about the value and not the index, you could do something like this: min(R1_matrix(R1_matrix ~= 0)) If y...

plus de 2 ans il y a | 1

| A accepté

Réponse apportée
List available java packages
Hi there, you can get a list of jar-files known to Matlab by executing: Return Java class path or specify dynamic path - MATLAB...

plus de 2 ans il y a | 0

Réponse apportée
Create a matrix that changes size according to a variable N
Well, one option on how to e.g. create your is to do something like this: Atilde = arrayfun(@(x) A.^x, 0:1:n, 'UniformOutput',...

plus de 2 ans il y a | 0

| A accepté

A résolu


Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

plus de 2 ans il y a

A résolu


Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

plus de 2 ans il y a

A résolu


Matlab Basics - Rounding III
Write a script to round a large number to the nearest 10,000 e.g. x = 12,358,466,243 --> y = 12,358,470,000

plus de 2 ans il y a

A résolu


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

plus de 2 ans il y a

A résolu


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

plus de 2 ans il y a

A résolu


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

plus de 2 ans il y a

Réponse apportée
I want to plot between "W" and "lambda" for different values of "psi" but don't know what's going wrong.
Well, what's going wrong in this context is that your "W" calls "P", which wants to evaluate from [0,x] with x being defined as ...

plus de 2 ans il y a | 0

| A accepté

A résolu


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

plus de 2 ans il y a

A résolu


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

plus de 2 ans il y a

A résolu


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

plus de 2 ans il y a

Réponse apportée
If matlab coder fails can we still do it ourselves?
Not sure if I completly understand your question, but you can naturally write a C/C++ function and code it to mex even without t...

plus de 2 ans il y a | 0

| A accepté

A résolu


Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...

plus de 2 ans il y a

Réponse apportée
Create cell array of handle functions, which have been created from 2x1 double arrays
Hi there, I am not sure if I understand the problem correctly because once you evaluate the function handle Matlab, you will ge...

plus de 2 ans il y a | 1

Réponse apportée
Sensitivity analysis in simulink
Well, sensitivities are in the end gradients and the easiest way to get them is by means of finite differences. Because your mod...

plus de 2 ans il y a | 0

Réponse apportée
How to update lookup table during simulation? Simulink
Hi there, I assume that you want to update the breakpoint data, right? Simulink generally supports dynamic lookup tables, i.e. ...

plus de 2 ans il y a | 0

| A accepté

Réponse apportée
livescript and m file
Well, they are in the end different file types so it's not like you can decide directly on how to execute them if that is what y...

plus de 2 ans il y a | 0

Réponse apportée
how to extract all rows with samen "Key" from matrix
Your SOURCE_KEY column is a categorical. Thus, you just have to do something like this: reducedData = Electricity(Electricity.S...

plus de 2 ans il y a | 1

Réponse apportée
Seeking documentation of the Aerodynamic Forces and Moments Block
Hi there, aerodynamic forces/moments are normally described as dimensionless coefficients because there are some similarity rel...

plus de 2 ans il y a | 0

Réponse apportée
How to stop ODE fuction in a certain value
From my perspective the already given answer only solves the problem of stopping the simulation. However, it does not restart it...

plus de 2 ans il y a | 0

| A accepté

A résolu


speech compression
sir how to reconstruct the original signal from compressed signal by using speech file please give me some suggestions

presque 10 ans il y a

A résolu


Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

presque 10 ans il y a

A résolu


Find the Sum of r and t.
Find the sum r^2 + t^2

presque 10 ans il y a

A résolu


Skip by a multiple
Given an integer create an array of its multiples. Array must have a length of 15

presque 10 ans il y a

A résolu


Where is she?
Given the numbers 12, 3 , 6 ,9 Tell where the girl is located. I.E: Look to your 3 oclock = look right Ex. x = 3 fp...

presque 10 ans il y a

Charger plus