Community Profile

photo

patrick1704


TU München

Last seen: 8 mois il y a Actif depuis 2014

Followers: 0   Following: 0

Contact

Statistiques

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Afficher les badges

Feeds

Afficher par

A répondu
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 d'un an il y a | 0

| A accepté

A répondu
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...

presque 2 ans il y a | 0

A répondu
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...

presque 2 ans il y a | 1

| A accepté

A répondu
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...

presque 2 ans il y a | 1

| A accepté

A répondu
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...

presque 2 ans il y a | 0

A répondu
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',...

presque 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...

presque 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...

presque 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

presque 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

presque 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...

presque 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

presque 2 ans il y a

A répondu
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 ...

presque 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

presque 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

presque 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

presque 2 ans il y a

A répondu
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...

presque 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 ...

presque 2 ans il y a

A répondu
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...

presque 2 ans il y a | 1

A répondu
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...

presque 2 ans il y a | 0

A répondu
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. ...

presque 2 ans il y a | 0

| A accepté

A répondu
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...

presque 2 ans il y a | 0

A répondu
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...

presque 2 ans il y a | 1

A répondu
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...

presque 2 ans il y a | 0

A répondu
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...

presque 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

environ 9 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...

environ 9 ans il y a

A résolu


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

environ 9 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

environ 9 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...

environ 9 ans il y a

Charger plus