# Allen

Last seen: 7 mois il y a Actif depuis 2017

Followers: 0   Following: 0

Professional Interests:
App Building, Fourier Analysis and Filtering, Signal and Data Processing, Seismology, Mechanical Engineering

All

#### Feeds

Afficher par

A résolu

Current through resistor
Three resistors (R2, R3, R4) are connected in parallel as shown in the figure. If this combination is connected in series with ...

9 mois il y a

A résolu

Calculate Parallel Resistance
Three resistors connected in parallel have resistances R1, R 2, and R 3, respectively. Return the total resistance R total of ...

9 mois il y a

A résolu

Resistance of a light bulb
The current through two identical light bulbs connected in series is C Amperes. The total voltage across both bulbs is V Volts....

9 mois il y a

A résolu

Force and Motion 3
Two robots push on a large object in the same direction. One robot pushes with a force of F1 Newtons and the other with a force...

9 mois il y a

A résolu

Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

9 mois il y a

A résolu

Must be in the front row...
You are given a matrix followed by a single number. Your object is to write a script that will shift the matrix around so that ...

plus d'un an il y a

A résolu

Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

plus d'un an il y a

A résolu

Too Many Zeros, Dump Them!
Sometimes when I create a matrix, I use this syntax: a = zeros(1000,1000); But when the function ends, I find that I don'...

plus d'un an il y a

A résolu

Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

plus d'un an il y a

A résolu

Matrix multiplication across rows
Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

plus d'un an il y a

A résolu

A matrix of extroverts
Now that the introverts have had their script, the extroverts spoke up (naturally!) and demanded one as well. You will be given...

plus d'un an il y a

A résolu

Enlarge array
Given an m-by-n numeric array (A) and a 1-by-2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m...

plus d'un an il y a

A résolu

Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

plus d'un an il y a

A résolu

frame of the matrix
Given the matrix M, return M without the external frame.

plus d'un an il y a

A résolu

subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

plus d'un an il y a

A résolu

Given a matrix, swap the 2nd & 3rd columns
If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

plus d'un an il y a

A résolu

Some Assembly Required
The input to this function is a matrix of real numbers. Your job is to assemble the rows of the matrix into one large row that ...

plus d'un an il y a

A résolu

Calculate a modified Levenshtein distance between two strings
Inspired by the Cody problem found here. The Levenshtein distance is a charater-based string metric used to measure the differe...

plus d'un an il y a

A résolu

Calculate compression ratio of engine
Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

plus d'un an il y a

A résolu

Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

plus d'un an il y a

A résolu

Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

environ 2 ans il y a

A résolu

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

environ 2 ans il y a

A résolu

Converts numbers into characters
Converts numbers into characters

environ 2 ans il y a

A résolu

Find the max element of the array
Find the max element of the array

environ 2 ans il y a

A résolu

Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

environ 2 ans il y a

A résolu

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

environ 2 ans il y a

A résolu

to the 2 all elements
to the 2 all elements

environ 2 ans il y a

A résolu

the average value of the elements
Calculate the average value of the elements in the array

environ 2 ans il y a

A résolu

Double all elements in the array
Duplicate all elements in the array

environ 2 ans il y a

A résolu

calculate the length of matrix
input 1 array, calculate the length

environ 2 ans il y a