Community Profile

photo

Asad (Mehrzad) Khoddam


Last seen: 約1ヶ月 前

UWM

285 2016 年以降の合計貢献数

PhD Student at UWM

連絡する

Asad (Mehrzad) Khoddam's バッジ

  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 1
  • First Submission
  • Quiz Master
  • Knowledgeable Level 2
  • First Answer
  • Triathlon Participant
  • Speed Demon
  • Leader
  • Creator
  • Solver

詳細を表示...

貢献した分野
表示方法

解決済み


Missing five
Convert decimal numbers to a base-9 notation missing the digit *5* <<http://www.alfnie.com/software/missing5.jpg>> Too man...

3ヶ月 前

解決済み


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

3ヶ月 前

解決済み


Elements with highest local average
Input v is a row vector such that length(v)>3. Consider a sliding window of length 3 that is used to calculate the local average...

3ヶ月 前

解決済み


Sum my indices
Given inputs M and N (in that order), output an MxN matrix whose entries are equal to the sum of their indices. Example input...

3ヶ月 前

解決済み


Split array into pieces according to corresponding array
An array x of length n has values 1...m with each value appearing at least once. The values are sorted (n>=m). A second...

3ヶ月 前

解決済み


Neither minima nor maxima
Input v is a vector. Return all the elements of v which are not a local minimum or maximum. Example: v = [1 2 3 4 5] Ou...

3ヶ月 前

解決済み


Swap two numbers
Example Input: a = 10 b = 20 Output a = 20 b = 10

7ヶ月 前

解決済み


Hard limit function
Classify x data as if x>=0 then y=1 if x<0 then y=0 Example x = [ -2 -1 0 1 2] y = [ 0 0 1 1 1]

10ヶ月 前

解決済み


Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x example: x = [1; 2; 3] output = 3

10ヶ月 前

解決済み


Switch matrix to a column vector
for e.g. x = [1 2 3 4] y = 1 3 2 4

10ヶ月 前

解決済み


Simple return on investment
Assume you have some money and want to invest all your money to stock market. You randomly select a stock and invest all your mo...

10ヶ月 前

解決済み


Which quadrant?
Given a complex number, output quadrant 'I' 'II' 'III' or 'IV' | II | I | ...

10ヶ月 前

解決済み


Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

11ヶ月 前

解決済み


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

11ヶ月 前

解決済み


Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...

11ヶ月 前

解決済み


Test if a number is numeric or not
Test if a number is numeric or not

4年弱 前

解決済み


calculate Compound Intrest
Calculate Compound Intrest for given data

4年弱 前

解決済み


Calculating selling price
Cost of a Product is $x What should be the selling price if you want to gain 10%?

4年弱 前

解決済み


row removal
Consider a matrix and remove the first row of the matrix.

4年弱 前

解決済み


the number of inputs
Find the number of the inputs of the function. example y = theinputnumber(x,k); function called theinputnumber has 2 in...

4年弱 前

解決済み


Rotate a matrix for 180 degree
Rotate a matrix for 180 degree for eg: x=[1 2 3 4] y=[4 3 2 1]

4年弱 前

解決済み


Vector Multiplication
Vector Multiplication of three matrix as shown in test cases.

4年弱 前

解決済み


Compare two strings.
Compare two strings, whether they are equal or not.

4年弱 前

解決済み


Rotate array 90 degrees
Rotate the given matrix by 90 degrees. Example, A = [1 2 3 ; 4 5 6 ] B = rotated(A) = [ 3 6; 2 5; 1 4 ]

4年弱 前

解決済み


Solve expression II
Solve given expression. alpha=0.1(-x-y-50)/(exp((-x-y-50)/10)-1) beta=5exp((-x+y-60)/20) result=alpha+beta;

4年弱 前

解決済み


product of given two numbers?
product of given two numbers?

4年弱 前

解決済み


Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...

4年弱 前

解決済み


Find the volume of cone
Find the volume of cone, when given radius(r) and height(h).

4年弱 前

回答済み
How would one reverse the order of an array using a while loop?
if v is the vector: n=length(v); while n>0 disp(v(n)); n=n-1; end

4年弱 前 | 1

| 採用済み

解決済み


Find the two-word state names
Given a list of states, remove all the states that have two-word names. If s1 = 'Alabama Montana North Carolina Vermont N...

4年弱 前

Load more