Community Profile

photo

em7


Last seen: 約2ヶ月 前 2022 年からアクティブ

Followers: 0   Following: 0

統計

All
  • Thankful Level 2
  • Community Group Solver
  • Solver

バッジを表示

Feeds

表示方法

解決済み


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

7ヶ月 前

解決済み


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

7ヶ月 前

解決済み


Create a vector
Create a vector from 0 to n by intervals of 2.

7ヶ月 前

解決済み


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

7ヶ月 前

解決済み


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

7ヶ月 前

解決済み


Find max
Find the maximum value of a given vector or matrix.

7ヶ月 前

解決済み


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

7ヶ月 前

解決済み


Inner product of two vectors
Find the inner product of two vectors.

7ヶ月 前

解決済み


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

9ヶ月 前

解決済み


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

9ヶ月 前

質問


Plot with x-axis limits going from [180:360] then [0:180] contiguously
Here is a sample plot of my data: I've searched through the community looking for ideas but I may be struggling with how to...

10ヶ月 前 | 2 件の回答 | 0

2

回答

質問


Find the minimum sum of errors for every permutation
I have an (m x n) matrix that is filled with error percentages. Example: error = [ 2.1 2.3 1.9 2.0; 1.8 1.9 2...

1年以上 前 | 1 件の回答 | 0

1

回答

解決済み


Return area of square
Side of square=input=a Area=output=b

1年以上 前

解決済み


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

1年以上 前

解決済み


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

1年以上 前

解決済み


Add two numbers
Given a and b, return the sum a+b in c.

1年以上 前

解決済み


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

1年以上 前

質問


How can I programmatically open the results of a command in a new window without setting it to a variable?
As a basic example, I want to type in something like: function(2+2) ... and the output would open a new window as if I'm o...

1年以上 前 | 2 件の回答 | 0

2

回答

解決済み


An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

さらに読み込む