photo

Cedric Kotitschke


Last seen: Today Actif depuis 2021

Followers: 0   Following: 0

Statistiques

All
  • First Answer
  • Thankful Level 2
  • Solver

Afficher les badges

Feeds

Afficher par

Question


How to determine if an object is a built-in class?
How can I determine if an object is a built-in class? Not only doubles, structs, strings and all those base data types but also...

3 mois il y a | 1 réponse | 0

1

réponse

Question


Swap shape of cell array full of arrays
Hey, I have a nxn cell array where each element contains a 1xm array. How do I turn this into a 1xm cell array where each elem...

6 mois il y a | 2 réponses | 0

2

réponses

Question


Store intermediate results of cost function when solver is run in parallel
Hey, I have a cost function that is comprised of two intermediate results f1 and f2. When I run some solver to minimize this f...

7 mois il y a | 1 réponse | 0

1

réponse

Réponse apportée
export_fig of multiple overlayed images only saves one image
Why not use saveas? saveas(gcf,'figname.pdf')

8 mois il y a | 0

Réponse apportée
Way to save figures to .fig file as visible from matlab live script?
Why don't you set the visible property to 'off' after saving? set(gcf, 'Visible', 'on') saveas(gcf, 'figurename.fig') set(g...

8 mois il y a | 0

A résolu


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

9 mois il y a

Question


How do I restore my Simulink Favourite Commands?
Hello, my Matlab did not start so I followed the advice to rename the preference folder and create a new, blank reference folde...

9 mois il y a | 1 réponse | 0

0

réponse

Réponse apportée
Extract several matrices from single column vector
For everyone who also struggles with this, here's my solution. It is clunky but that's only because genmat objects are buggy whe...

9 mois il y a | 0

| A accepté

Question


Extract several matrices from single column vector
Hey, I have three matrices A, B, C, D which I flatten to a single column vector: J = [A(:); B(:); C(:); D(:)] How can I used...

9 mois il y a | 1 réponse | 0

1

réponse

Question


Copy simulink block programmatically
Hey, I have a very simple problem for which I am not able to find an answer. How exactly do I copy a block in Simulink program...

environ un an il y a | 1 réponse | 0

1

réponse

Question


Convert symbolic inequality to matrix form
Let's say I have a symbolic inequality: 2*x + 3*y <= 5 Is there a way to elegantly extract the matrices A, b for the equivalen...

environ un an il y a | 2 réponses | 0

2

réponses

Question


Extract one-dimensional timeseries from multidimensional timeseries
Hey, I have a timeseries with Time: [nx1] and Data: [3x1xn] (output from a Simulink model) How can I get a timeseries based on...

environ un an il y a | 1 réponse | 0

1

réponse

Question


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

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


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

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


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

plus d'un an il y a | 1 réponse | 0

1

réponse

Question


Extract operations from symbolic expression
Hello, given a symbolic expression, I want to extract the fundamental operations that take place in this symbolic expression....

plus d'un an il y a | 1 réponse | 0

1

réponse

A résolu


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

presque 2 ans il y a

A résolu


Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...

presque 2 ans il y a

A résolu


Find MPG of Lightest Cars
The file |cars.mat| contains a table named |cars| with variables |Model|, |MPG|, |Horsepower|, |Weight|, and |Acceleration| for ...

presque 2 ans il y a

A résolu


Find the Best Hotels
Given three input variables: * |hotels| - a list of hotel names * |ratings| - their ratings in a city * |cutoff| - the rat...

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


Calculate a Damped Sinusoid
The equation of a damped sinusoid can be written as |y = A.&#8519;^(-&lambda;t)*cos(2πft)| where |A|, |&lambda;|, and |f| ...

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

A résolu


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

presque 2 ans il y a

Charger plus