Community Profile

photo

Arun Sanap


Last seen: 6일 전

MathWorks

26 2021 이후 총 참여 횟수

DISCLAIMER: Any opinions stated are my own and not of MathWorks. I do not make policy or official statements on behalf of MathWorks.

Arun Sanap's 배지

  • Community Group Solver
  • Solver
  • First Answer

세부 정보 보기...

참여 게시물
보기 기준

해결됨


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

14일 전

해결됨


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

14일 전

해결됨


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

14일 전

해결됨


Return area of square
Side of square=input=a Area=output=b

14일 전

해결됨


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

14일 전

해결됨


Add two numbers
Given a and b, return the sum a+b in c.

14일 전

해결됨


Remove all the consonants
Remove all the consonants in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill'; Output s2 is 'a ...

18일 전

해결됨


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

18일 전

해결됨


Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...

18일 전

해결됨


sum of first 'n' terms
Given n=10, find the sum of first 'n' terms Example: If n=10, then x=1,2,3,4,5,6,7,8,9,10. The sum of these n=10 terms is 55...

18일 전

해결됨


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

18일 전

해결됨


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

약 1달 전

해결됨


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

약 1달 전

해결됨


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

약 1달 전

해결됨


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

약 1달 전

해결됨


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

약 1달 전

해결됨


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

약 1달 전

해결됨


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

약 1달 전

해결됨


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

약 1달 전

해결됨


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

약 1달 전

해결됨


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

약 1달 전

해결됨


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

약 1달 전

해결됨


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

약 1달 전

답변 있음
Finding and reporting the variable (Single number) of several with the largest value
Hi Alexander, I believe that there is no direct way to get the variable name from the max function, but there is a function ca...

약 2달 전 | 0

해결됨


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

약 2달 전

답변 있음
Can I input multiplexed signals(of same data type) to matlab function block
As per my understanding, you are trying to feed the output of the Mux block to the MATLAB function block. The MATLAB function ...

약 2달 전 | 0