Community Profile

photo

patrick1704


TU München

Last seen: 7 meses hace Con actividad desde 2014

Estadísticas

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

Ver insignias

Content Feed

Ver por

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 1

| aceptada

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

más de 1 año hace | 1

| aceptada

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

más de 1 año hace | 0

Respondida
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',...

más de 1 año hace | 0

| aceptada

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

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

más de 1 año hace | 0

| aceptada

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

Resuelto


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

más de 1 año hace

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

más de 1 año hace | 0

| aceptada

Resuelto


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

más de 1 año hace

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

más de 1 año hace | 1

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

más de 1 año hace | 0

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

más de 1 año hace | 0

| aceptada

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

más de 1 año hace | 0

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

más de 1 año hace | 1

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

casi 2 años hace | 0

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

casi 2 años hace | 0

| aceptada

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Resuelto


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

alrededor de 9 años hace

Cargar más