Feeds
已解决
Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...
2 hours 前
已解决
Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.
2 hours 前
已解决
Calculate the average value of the elements in the array
Calculate the average value of the elements in the array
2 hours 前
已解决
the average value of the elements
Calculate the average value of the elements in the array
2 hours 前
已解决
Laws of motion 4
Given the initial velocity 'u', final velocity 'v' and acceleration 'a', find the distance travelled.
3 hours 前
已解决
MATLAB 101: Count the Evens
Write a MATLAB function that accepts an array of integers and returns the total count of even numbers present in the array. Note...
3 hours 前
已解决
Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...
5 days 前
已解决
MATLAB 101: Replace Negatives with Zero
Write a MATLAB function that takes a numeric array (vector or matrix) of numbers and replaces all negative numbers with zero. Po...
5 days 前
已解决
MATLAB 101: Extract the prime numbers
Given a list of elements, extract the prime numbers from that array.
5 days 前
已解决
Check if number exists in vector
Return 1 if number a exists in vector b otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,2,3]; Returns 1.
5 days 前
已解决
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
5 days 前
已解决
Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...
5 days 前
已解决
MATLAB 101: Highest 3 marks
An array is given that contains the marks received by a group of students in their class test. Find out the highest 3 marks rec...
5 days 前
已解决
MATLAB 101: Equivalent Resistance Calculator
Calculate the equivalent resistance R_eq for n resistors connected in Series or Parallel.
5 days 前
已解决
MATLAB 101: Scalar-Vector Multiplication
Write a MATLAB function that takes a numeric array (vector or matrix) v and a scalar multiplier s. The function should return a ...
5 days 前
已解决
MATLAB 101: Wye to Delta Impedance Converter
n electrical network analysis, transforming a Wye (Y) configuration of impedances (Z1, Z2, Z3) into an equivalent Delta (Delta) ...
6 days 前
已解决
MATLAB 101: Delta to Wye Impedance Converter
In electrical network analysis, transforming a delta (Delta) configuration of components into a wye (Y) configuration is vital f...
6 days 前
已解决
MATLAB 101: Reverse a Vector
Write a MATLAB function that takes a 1D vector (either a row or a column vector) and returns the vector with its elements in exa...
6 days 前
已解决
MATLAB 101: Hypotenuse Calculator
Write a MATLAB function that accepts the base and height of a right-angled triangle (or arrays of bases and heights) and returns...
6 days 前
已解决
Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...
6 days 前

