research interests: vibrations, optimal control, system modeling and simulation, mechatronics... coding

Answered

How can you plot the output of a for loop?

Hi, if I have understood your exercise correctly, you'd like to plot the year vs. average values of the variable TG. If so h...

How can you plot the output of a for loop?

Hi, if I have understood your exercise correctly, you'd like to plot the year vs. average values of the variable TG. If so h...

5 giorni ago | 0

| accepted

Answered

How can you plot the output of a for loop?

I see your mat contains bunch of data. All variables are of the same size 3635-by-1. So you wish to plot what variable vs. what ...

How can you plot the output of a for loop?

I see your mat contains bunch of data. All variables are of the same size 3635-by-1. So you wish to plot what variable vs. what ...

5 giorni ago | 0

Answered

How can you plot the output of a for loop?

Can you share your data file in order to be able to address your question correctly?

How can you plot the output of a for loop?

Can you share your data file in order to be able to address your question correctly?

5 giorni ago | 0

Answered

find a minima in a symbolic equations that have multiple symbolic variables and a stochastic variable

I think the problem in equation diff11 that you are trying to solve it for two unknowns.

find a minima in a symbolic equations that have multiple symbolic variables and a stochastic variable

I think the problem in equation diff11 that you are trying to solve it for two unknowns.

27 giorni ago | 0

Solved

Perimeter of a semicircle

Given the diameter d, find the perimeter of a semicircle

27 giorni ago

Solved

Given a square and a circle, please decide whether the square covers more area.

You know the side of a square and the diameter of a circle, please decide whether the square covers more area.

27 giorni ago

Solved

Approximation of Pi

Pi (divided by 4) can be approximated by the following infinite series: pi/4 = 1 - 1/3 + 1/5 - 1/7 + ... For a given numbe...

27 giorni ago

Answered

how to fix Summation index error?

Use this command: symsum(symsum((vectors(:,m)*(vectors(:,n)')))) instead of: symsum(symsum((vectors(:,m)*(vectors(:,n)')),m,...

how to fix Summation index error?

Use this command: symsum(symsum((vectors(:,m)*(vectors(:,n)')))) instead of: symsum(symsum((vectors(:,m)*(vectors(:,n)')),m,...

28 giorni ago | 0

| accepted

Answered

How do I plot timeseries, including event like earthquake?

Here is corrected code: fileID = fopen('filename.txt', 'r'); C = textscan(fileID, '%s %f'); % Presumably your file does no...

How do I plot timeseries, including event like earthquake?

Here is corrected code: fileID = fopen('filename.txt', 'r'); C = textscan(fileID, '%s %f'); % Presumably your file does no...

28 giorni ago | 0

Answered

How do I plot timeseries, including event like earthquake?

Hi, In this case, use one of these data import options: (1) data import using uiimport('DATA_file_name.txt') that creates a ...

How do I plot timeseries, including event like earthquake?

Hi, In this case, use one of these data import options: (1) data import using uiimport('DATA_file_name.txt') that creates a ...

29 giorni ago | 0

Solved

Crop an Image

A grayscale image is represented as a matrix in MATLAB. Each matrix element represents a pixel in the image. The element values ...

circa 2 mesi ago

Solved

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

circa 2 mesi 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...

circa 2 mesi 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...

circa 2 mesi ago

Solved

Find MPG of Lightest Cars

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

circa 2 mesi ago

Solved

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

circa 2 mesi 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,....

circa 2 mesi ago

Solved

Calculate Inner Product

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

circa 2 mesi 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 ...

circa 2 mesi 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...

circa 2 mesi 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| ...

circa 2 mesi ago

Solved

Solve a System of Linear Equations

*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...

circa 2 mesi 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...

circa 2 mesi 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...

circa 2 mesi ago

Solved

Number of Even Elements in Fibonacci Sequence

Find how many even Fibonacci numbers are available in the first d numbers. Consider the following first 14 numbers 1 1 2...

3 mesi ago

Solved

Integer Sequence - II : New Fibonacci

Crack the following Integer Sequence. (Hints : It has been obtained from original Fibonacci Sequence and all the terms are also ...

3 mesi ago

Solved

Return fibonacci sequence do not use loop and condition

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

3 mesi ago