Solved


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

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

Solved


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

4 years ago

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

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

4 years ago

Question


Can matlab coder generate C code more intelligently based on human language expressions?
According to my recent incomplete understanding, similar code generation tools are becoming more and more intelligent, such as d...

4 years ago | 1 answer | 0

1

answer

Question


matlab coder generation mex verification failed?
When I use matlab coder app to generate C code from my matlab code, I first start to verify if mex is runnable, but this step di...

4 years ago | 1 answer | 0

1

answer

Question


The PreserveArrayDimensions property in coder.EmbeddedCodeConfig is only valid for the first entry function in multiple entry functions?
When I set PreserveArrayDimensions to true, only the first of the multiple C entry function interfaces generated retains the arr...

4 years ago | 0 answers | 0

0

answers

Question


"arguments ... end" syntax input argument validation module group supports C code generation?
The latest version of Matlab Coder does not seem to support the use of "arguments...end" module in functions. If so, I don't hav...

4 years ago | 1 answer | 0

1

answer

Answered
What is missing from MATLAB #2 - the next decade edition
"matlab coder" toolbox can't produce only one C/C++ file, refer to: 1、How can I set up "matlab coder" to produce fewer C/C++ f...

4 years ago | 0

Answered
Regarding single .c and .h file generation in embedded coder code generation
@Juili Bhirud Unfortunately, TMW does not provide a way to generate a unique c file from these files simliar issue: https://a...

4 years ago | 0

Question


How can simulink coder/embedded coder generate multiple entry point functions?
Similar to matlab coder can specify multiple entry functions for C code generation at the same time, but how to generate multipl...

4 years ago | 0 answers | 0

0

answers

Question


How can matlab coder be configured to generate only one c file?
My problem is this: similarly, I can generate only one model.c and model.h file in simulink coder by setting the "File packaging...

4 years ago | 1 answer | 0

1

answer

Question


matlab function block Used for C code generation Error?
matlab function block Used for C code generation with "Only one inport and one outport can share the same parameter name." Error...

4 years ago | 0 answers | 0

0

answers

Answered
How to rotate a rectangle
I recommend you to use 'polyshape' for rotating rectangles, there are many object functions that can meet your requirements. r...

4 years ago | 0

Answered
How to crop a square that has a rotational angle?
I wrote an enhanced 'imcrop' function that supports rotating rectangle interception, but yours is an irregular quadrilateral, bu...

4 years ago | 1

Answered
'Cropping' image from a rotatable drawrectangle ROI
I've written an enhanced 'imcrop' function that supports rotated rectangle interception, which would satisfy your case please s...

4 years ago | 0

Question


Synchronize matlab software personality settings across platforms?
You can synchronize the individual settings of each platform matlab software while logged into your account, such as synchronizi...

4 years ago | 1 answer | 0

1

answer

Question


Matlab function block Does not support 'fopen' code generation?
I wrote a simple write binary file function with 'fopen' function for C code generation, but it is not supported in MATLAB funct...

4 years ago | 1 answer | 0

1

answer

Question


Are there examples of deploying deep learning specifically for TI TDA4vm soc embedded devices using matlab coder and embedded coder toolboxes?
As far as I am not fully aware, the current official list of hardware models supported by texas instruments C2000 processors is ...

4 years ago | 0 answers | 0

0

answers

Question


Doesn't addpath support adding multiple folder paths at the same time?
For example, I have 2 paths of the same level of brothers, how can I add them to the matlab search path by command addpath? pat...

4 years ago | 1 answer | 0

1

answer

Question


How can I set up "matlab coder" to produce fewer C/C++ files?
The problem is that I prefer to use the "matlab coder app" for C code generation and I want to produce as few C code files as po...

4 years ago | 0 answers | 0

0

answers

Question


How to deploy matlab deep learning models to Texas Instruments?
As far as I know, matlab deep learning models can be deployed to FPGAs and SoCs (Deep Learning HDL Toolbox), NVIDIA™ family of d...

4 years ago | 1 answer | 0

1

answer

Question


Is there an offline html document download for matlab?
Is there an offline html document download for matlab? What I know so far is that matlab software comes with local html official...

4 years ago | 2 answers | 0

2

answers

Load more