
Cedric Kotitschke
統計
All
Content Feed
質問
Rearrange cell array of strings based on occurrence in another cell array of string
Hey, I have two cell arrays of string. Let's call them A and B: A = {'test1', 'test2'}; B = {'here_test2_occurs', 'here_tes...
約2ヶ月 前 | 1 件の回答 | 0
1
回答質問
Find model references within model references
Hello, I'm trying to find a model reference within a large simulink model which contains multiple model references, often als...
4ヶ月 前 | 1 件の回答 | 0
1
回答質問
Programmatically add annotation with an equation to simulink
Hey all, I'm trying to add an annotation to a Simulink model which includes an equation using Latex syntax. However, all I get ...
4ヶ月 前 | 1 件の回答 | 0
1
回答質問
Extract operations from symbolic expression
Hello, given a symbolic expression, I want to extract the fundamental operations that take place in this symbolic expression....
4ヶ月 前 | 1 件の回答 | 0
1
回答解決済み
Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...
8ヶ月 前
解決済み
Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...
8ヶ月 前
解決済み
Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...
8ヶ月 前
解決済み
Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...
8ヶ月 前
解決済み
Crop an Image
A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. An element value re...
8ヶ月 前
解決済み
Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...
8ヶ月 前
解決済み
Plot Damped Sinusoid
Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...
8ヶ月 前
解決済み
Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...
8ヶ月 前
解決済み
Solve a System of Linear Equations
Example: If a system of linear equations in x₁ and x₂ is: 2x₁ + x₂ = 2 x₁ - 4 x₂ = 3 Then the coefficient matrix (A) is: 2 ...
8ヶ月 前
解決済み
Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....
8ヶ月 前
解決済み
Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...
8ヶ月 前
解決済み
Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...
8ヶ月 前
解決済み
Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...
8ヶ月 前
解決済み
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
8ヶ月 前
質問
ICDF for values very close to one
Hey, I have a problem where I have to transform random variables from the standard normal space to some other, arbitrary dist...
9ヶ月 前 | 0 件の回答 | 0
0
回答回答済み
Change constraints within optimization loop
Found the answer: the class of current_analysis is a subclass of the dynamicprops superclass and the properties are SetObserv...
Change constraints within optimization loop
Found the answer: the class of current_analysis is a subclass of the dynamicprops superclass and the properties are SetObserv...
約1年 前 | 0
| 採用済み
質問
Change constraints within optimization loop
Hey, I have an optimization problem in which the constraints depend on whether the design variable has changed or not (Single...
約1年 前 | 1 件の回答 | 0
1
回答質問
Model command with vector / matrix inputs
Hey, I would like to use the model command to execute my simulink model. The problem is that my inputs are scalars, vectors a...
1年以上 前 | 1 件の回答 | 0
1
回答質問
Create diagonal matrix from vector in Simulink without DSP toolbox and without knowing the dimension of the vector
Hey! I need to convert a vector signal into a diagonal matrix in Simulink. The problem is that I do not have the DSP toolbox ...
1年以上 前 | 1 件の回答 | 0
1
回答質問
Turn a Simulink model into a mex file
Hey! I'm trying to compare different algorithms and I have most of them in form of MATLAB functions. One of them, however, wa...
1年以上 前 | 1 件の回答 | 0