Community Profile

photo

Alan Zeltser


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

統計

  • Community Group Solver
  • Introduction to MATLAB Master
  • Promoter
  • Solver

バッジを表示

Content Feed

表示方法

解決済み


Do you like your boss?
Do you like your boss? Answer can be any string! For example: Boss = 'Do you like your boss?'; Output = 'yes' or ...

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年弱 前

解決済み


Convert yards to feet
The goal of this script is to convert a value given in yards to feet.

2年弱 前

解決済み


Matlab Basics - Absolute Value
Write a script that returns the absolute value of the elements in x e.g. x = [-1 -2 -3 -4] --> y = [1 2 3 4]

2年弱 前

解決済み


Negative Infinity
Round the given array a towards negative infinity.

2年弱 前

解決済み


Matlab Basics II - squares
Write a function that takes matrix A, and squares each element in the matrix example: A = [1 2 3] output = [1 4 9]

2年弱 前

解決済み


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

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年弱 前

解決済み


Add two numbers
Calculate the sum of two numbers. Example input = [2 3] output = 5

2年弱 前

解決済み


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

2年弱 前

解決済み


Divide pi
Divide pi by x!

2年弱 前

解決済み


Find the circumference of the circle
geometry

2年弱 前

解決済み


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

2年弱 前

解決済み


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

2年弱 前

解決済み


Check that number is whole number
Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. http://en.wikipedia.org/wiki/Whole_numb...

2年弱 前

解決済み


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

2年弱 前

解決済み


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

2年弱 前

解決済み


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

2年弱 前

解決済み


Let's get back to school, and create multiplication tables
For a given range, create multiplication tables. (start is always < endno) Example start = 17 endno = 19 Then, ...

2年弱 前

解決済み


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


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

2年弱 前

解決済み


Draw a '1' in a zero matrix!

2年弱 前

さらに読み込む