Community Profile

photo

patrick1704


TU München

Last seen: 7개월 전 2014년부터 활동

통계

All
  • Knowledgeable Level 2
  • First Answer
  • Solver

배지 보기

Content Feed

보기 기준

답변 있음
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...

1년 초과 전 | 0

| 수락됨

답변 있음
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...

1년 초과 전 | 0

답변 있음
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...

1년 초과 전 | 1

| 수락됨

답변 있음
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...

1년 초과 전 | 1

| 수락됨

답변 있음
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...

1년 초과 전 | 0

답변 있음
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',...

1년 초과 전 | 0

| 수락됨

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

답변 있음
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 ...

1년 초과 전 | 0

| 수락됨

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

문제를 풀었습니다


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

1년 초과 전

답변 있음
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...

1년 초과 전 | 0

| 수락됨

문제를 풀었습니다


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

1년 초과 전

답변 있음
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...

1년 초과 전 | 1

답변 있음
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...

1년 초과 전 | 0

답변 있음
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. ...

1년 초과 전 | 0

| 수락됨

답변 있음
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...

1년 초과 전 | 0

답변 있음
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...

1년 초과 전 | 1

답변 있음
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...

거의 2년 전 | 0

답변 있음
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...

거의 2년 전 | 0

| 수락됨

문제를 풀었습니다


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

대략 9년 전

문제를 풀었습니다


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

대략 9년 전

문제를 풀었습니다


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

대략 9년 전

문제를 풀었습니다


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

대략 9년 전

문제를 풀었습니다


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

대략 9년 전

더 보기