![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/10133467_1509848012372.jpg)
Victor Quezada
Followers: 0 Following: 0
Feeds
已解决
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 前
已解决
Project Euler: Problem 3, Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...
4 years 前
已解决
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...
4 years 前
已回答
How does one solve simultaneous difference (not differential) equations?
It's better if you convert your set of diference equations into matrices and solve it by "\" operator.
How does one solve simultaneous difference (not differential) equations?
It's better if you convert your set of diference equations into matrices and solve it by "\" operator.
4 years 前 | 0
已解决
Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]
4 years 前
已解决
Calculate Inner Product
Given two input matrices, |x| and |y|, check if their inner dimensions match. * If they match, create an output variable |z|...
4 years 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
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 前
已解决
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...
4 years 前
已解决
Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...
4 years 前
已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
4 years 前
已解决
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...
4 years 前
已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
4 years 前
已解决
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 前
已解决
Solve a System of Linear Equations
*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...
4 years 前
已解决
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:...
4 years 前
已回答
Simulink Onramp doesn't work properly_MATLAB version R2019b
Hi. I had the same problem and have fixed: I updated my version from R2019b to R2020a (my license was still valid).
Simulink Onramp doesn't work properly_MATLAB version R2019b
Hi. I had the same problem and have fixed: I updated my version from R2019b to R2020a (my license was still valid).
4 years 前 | 0
已回答
Problem with order of substitution with odeToVectorfield- Solving second order ode with ode45
Define your equations upside down, it worked for me. For example: clear syms x1(t) x2(t) f1(t) f2(t) m=[2 3];c=[3 1 1];k=[3 2...
Problem with order of substitution with odeToVectorfield- Solving second order ode with ode45
Define your equations upside down, it worked for me. For example: clear syms x1(t) x2(t) f1(t) f2(t) m=[2 3];c=[3 1 1];k=[3 2...
5 years 前 | 0
已回答
Finding best set of parameters by fitting the experimental data to different theoretical data obtained using different parameters.
Your question isn't very clear. The first thing you can try, ever, is to plot your theoretical and experimental data, afterwards...
Finding best set of parameters by fitting the experimental data to different theoretical data obtained using different parameters.
Your question isn't very clear. The first thing you can try, ever, is to plot your theoretical and experimental data, afterwards...
5 years 前 | 0
已回答
HOW TO IMPORT MATLAB DATA FROM Text files (* .txt)
Try something explained here: https://la.mathworks.com/help/matlab/import_export/ways-to-import-text-files.html Or here: https:...
HOW TO IMPORT MATLAB DATA FROM Text files (* .txt)
Try something explained here: https://la.mathworks.com/help/matlab/import_export/ways-to-import-text-files.html Or here: https:...
5 years 前 | 0
| 已接受