回答済み
Could you please tell me why the last part for the descending order isn´t working? Thank you!
Hi, I will try to guess what you mean: You want it sorted in ascending order after the first column and descending at the ...

約8年 前 | 1

回答済み
Basic help with simulink model
Hi, to measure an efficiency of a technical structure you have to calculate the ratio of the power you get out of this techni...

約8年 前 | 1

| 採用済み

回答済み
How to access the result of Curve Fit App in the workspace?
Hi, when you are in the fitting app right click on the model you want to export: <</matlabcentral/answers/uploaded_files/1...

約8年 前 | 1

| 採用済み

回答済み
Linprog Error MATLAB R2017B
Hi, see this: <https://de.mathworks.com/matlabcentral/answers/93148-why-do-i-receive-the-error-attempt-to-execute-script-f...

約8年 前 | 0

| 採用済み

回答済み
Set default startup folder to userprofile
Hi again, write a script named startup.m and save it in one of the search paths of matlab. This script will be execut...

約8年 前 | 0

回答済み
Set default startup folder to userprofile
Hi, see here: <</matlabcentral/answers/uploaded_files/120242/start_folder.PNG>> - Note that unless you include the f...

約8年 前 | 0

回答済み
How do i calculate inverse Laplace of below equation?
Hi, i think you look for the ilaplace-function. In your case: f = ilaplace(rho,s,x) See also here: <https://de.ma...

約8年 前 | 0

回答済み
why is the "pretty" command does not work in the script,but works when I press it in the command windo?
Hi, try this: syms A D k x_0 eqn_1=A*(exp(k*x_0)-exp(-k*x_0))==D*exp(-k*x_0) eqn_2=-k*D*exp(-k*x_0)-k*A*(...

約8年 前 | 0

回答済み
Find the position index of vector array
Hi, you can use the code from the following example for your purpose: A = [1 2 3 10 6 0.999 -3 -5;... -3 -4 -10 ...

約8年 前 | 0

| 採用済み

回答済み
Finding integers in an array
Hi, try this: A = [5 0.1 -3 -4 -0.5 9 0 11 12 5 0.5] A = Columns 1 through 5 5.0000 0....

約8年 前 | 2

| 採用済み

回答済み
Trying to fill the area under the function up to the dotted line.... can't figure out how to get area or fill functions to work
Hi, i suppose you wanted to achieve this: <</matlabcentral/answers/uploaded_files/119123/fill%20area.PNG>> to do so i c...

約8年 前 | 0

| 採用済み

解決済み


Area of a circle
Find the value for area of the circle if diameter is given

約8年 前

解決済み


The answer to life the universe and everything
Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case t...

約8年 前

解決済み


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

約8年 前

回答済み
How to convert idss model of system into transferfunction?
Hi, i think i could solve this by using the following code / functions: sys=n4sid(data,1); [A,B,C,D,K] = idssdata(sys...

約8年 前 | 0

| 採用済み

回答済み
How to simplify a symbolic polynomial with respect to x?
Hi, use the collect command: syms a b c x equ = (x-a)*(x-b)+(x-c) f = collect(equ) gives: f = ...

約8年 前 | 2

| 採用済み

解決済み


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

約8年 前

回答済み
How to convert idss model of system into transferfunction?
Hi, you should use the idssdata command to get the state space matrices A, B, C, D, K from your identified model: ...

約8年 前 | 1

解決済み


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

約8年 前

解決済み


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

約8年 前

回答済み
How can i solve an equation with an integral when the upper bound is the unknown variable?
Hi, . *If:* - all variables except t (upper bound) are known, - assuming that Walter (as usual) is right with his co...

約8年 前 | 0

| 採用済み

回答済み
How to adapt the matlab code which is produced by classification learner?
Hi, You can export the model in 3 ways. Usually the best way is to export matlab code to perform further calculations and ch...

約8年 前 | 0

| 採用済み

回答済み
matlab runs without answers after windows update
Hi, there are some Problems since the Windows update regarding symbolic toolbox in 2017b & 2018a. See here: <https://de.ma...

約8年 前 | 0

回答済み
using the command syms matlab does not work any more
Hi, there are some Problems since the Windows update regarding symbolic toolbox in 2017b & 2018a. See here: <https://de.ma...

約8年 前 | 0

回答済み
Conversion of a generic Simulink model into a transfer function
Hi, for this purpose there is the linmod or the linmod2 function. It gives you the matrices A,B,C & D fro...

約8年 前 | 0

解決済み


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

約8年 前

解決済み


Is the input divisible by 3?
Return true if the input is divisible by 3 and false if not.

約8年 前

解決済み


Arrange vector in ascending order
Arrange a given vector in ascending order. input = [4 5 1 2 9]; output = [1 2 4 5 9];

約8年 前

回答済み
I am getting this error "The following error occurred converting from sym to double: DOUBLE cannot convert the input expression into a double array." for this code.Please help me.
Hi, using symbolic values isnt possible for your purpose. You can choose between 2 options: 1.) use preal command ...

約8年 前 | 2

| 採用済み

さらに読み込む