Community Profile

photo

Marcelo


Embraer

Last seen: 17 jours il y a Actif depuis 2015

Followers: 0   Following: 0

Contact

Statistiques

All
  • Thankful Level 1
  • Community Group Solver
  • Solver
  • Knowledgeable Level 1
  • First Answer

Afficher les badges

Feeds

Afficher par

Question


Why the "Fcn" Simulink block is no longer available since R2020a version?
I am using R2021a version and, when I tried to use the Simulink "Fcn" block, I got very surprised in seing that this block is no...

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

1

réponse

A répondu
Timed Ramp signal after a trigger in simulink
You can try an Integrator with constant "1" input, wich gives a block whose output is "out = time". Then, when your trigger s...

plus de 2 ans il y a | 1

A répondu
Use a value from a Simulink model in another Simulink model
You can try to use the "To Workspace" block, which is found inside Simulink/Sinks in Browser, and it is the inverse of the "From...

plus de 2 ans il y a | 0

Question


Question about the term "Vf*Ron*Goff" in the series voltage in diode block from Simscape Electrical.
Hi, everyone, The diode block has the following explanation in its Help file: So, according this explanation, the series...

plus de 2 ans il y a | 1 réponse | 0

1

réponse

A résolu


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

plus de 3 ans il y a

A résolu


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

plus de 3 ans il y a

A résolu


Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

plus de 3 ans il y a

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

plus de 3 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|...

plus de 3 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 ...

plus de 3 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...

plus de 3 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...

plus de 3 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 ...

plus de 3 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...

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Solve a System of Linear Equations
*Example*: If a system of linear equations in _x&#8321_ and _x&#8322_ is: 2 _x₁_ + _x₂_ = 2 _x₁...

plus de 3 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,....

plus de 3 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...

plus de 3 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...

plus de 3 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 y...

plus de 3 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:...

plus de 3 ans il y a

A répondu
How do I choose specific data from a .txt file and then find the average, max and min values
Try this: fid = fopen('test.txt'); is_start_point = false; values = {}; while 1 current_line = fgetl(fid); ...

environ 4 ans il y a | 0

| A accepté

A répondu
No appropriate method, property, or field who for class Simulink.SimulationData.Dataset. How to access object or signal variable of class Simulink.SimulationData.Dataset class
About this class, Matlab itself gives the following info: Simulink.SimulationData.Dataset Package: Simulink.SimulationData...

environ 4 ans il y a | 0

A répondu
How do I choose specific data from a .txt file and then find the average, max and min values
Sam, Is your text file exactly like this one you pasted in your question? I mean, the eleventh element is actually in a new lin...

environ 4 ans il y a | 0

Question


Programmatically Analyze and Upgrade a Model using Upgrade Advisor: how to get the output from methods "analyze" and "upgrade" without having to open the Report File
Hi, I want to solve the following problem: I have a big set of Models and Libraries and I would like to upgrade them from vers...

environ 4 ans il y a | 1 réponse | 0

0

réponse

Question


Simulink problem: Blocks positions are not maintained after the model is saved.
Hi, I am with a problem related with blocks positions. I have a Simulink model that I run a script to configure all its bl...

plus de 6 ans il y a | 1 réponse | 0

0

réponse

A répondu
matlab.unittest.testcase not found on path
I am with this same problem. I tried to execute the example "TestCarpet" described in <https://www.mathworks.com/help/matlab/...

plus de 6 ans il y a | 0

Question


What is the best way to produce a time vector for use in a Simulink model simulation?
Hi, I would like to simulate a Simulink model during 1.0 sec. I want to do that using the command "sim" and passing the time ...

presque 7 ans il y a | 1 réponse | 0

0

réponse

Question


Increase available screen size in Simulink: Is it possible?
Hi, I am working with a model that contains huge subsystems, one of them with more than 1000 inports. The position limitat...

environ 9 ans il y a | 1 réponse | 0

0

réponse

Question


Out of memory error: problem loading large .mat file
Hi, I have a .mat file containing just one big Simulink.ModelDataLogs variable. The names are "myfile.mat" and "mylogsout". ...

plus de 9 ans il y a | 1 réponse | 0

1

réponse