Solved


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

2 years ago

Solved


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

2 years ago

Solved


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

2 years ago

Question


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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 0

| accepted

Question


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

2 years ago | 2 answers | 0

2

answers

Question


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

2 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 1 answer | 0

1

answer