Community Profile

photo

Asad (Mehrzad) Khoddam


UWM

278 total contributions since 2016

PhD Student at UWM

Contact

Asad (Mehrzad) Khoddam's Badges

  • 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

View details...

Contributions in
View by

Solved


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]

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


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

environ 2 mois ago

Solved


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 mois ago

Solved


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

environ 2 mois ago

Solved


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

environ 3 ans ago

Solved


calculate Compound Intrest
Calculate Compound Intrest for given data

environ 3 ans ago

Solved


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

environ 3 ans ago

Solved


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

environ 3 ans ago

Solved


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

environ 3 ans ago

Solved


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

environ 3 ans ago

Solved


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

environ 3 ans ago

Solved


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

environ 3 ans ago

Solved


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 ]

environ 3 ans ago

Solved


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;

environ 3 ans ago

Solved


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

environ 3 ans ago

Solved


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

environ 3 ans ago

Solved


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

environ 3 ans ago

Answered
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

environ 3 ans ago | 1

| accepted

Solved


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

environ 3 ans ago

Solved


Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

environ 3 ans ago

Solved


What is the next step in Conway's Life?
Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

environ 3 ans ago

Solved


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

environ 3 ans ago

Answered
For Loop Problem (Compound Interest with linked Savings and CD Account)
Here is the code. As you assumed, for the first year we add monthly values to the saving account MonthlyDeposit=sum([30...

environ 3 ans ago | 0

Solved


Test of Quiz
Answer the questions and write in vector. Only one answer is correct. The founder of fuzzy logic is 1a) D. Golberg 1b)...

environ 3 ans ago

Solved


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

environ 3 ans ago

Solved


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

environ 3 ans ago

Load more