Community Profile

photo

Archit Vyas


49 total contributions since 2017

Archit Vyas's Badges

  • Knowledgeable Level 1
  • Revival Level 1
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
Pulse Sensor data from Arduino to Matlab
Hi, Embed this code in yours. This code will read serial data from port COM1. arduino = serial('COM1', 'BaudRa...

circa 2 anni ago | 0

| accepted

Solved


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

circa 2 anni ago

Solved


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

oltre 2 anni ago

Solved


05 - Vector Equations 2
Define the vectors _aVec_ and _bVec_: <<http://samle.dk/STTBDP/Assignment1_2a.png>> and <<http://samle.dk/STTBDP/Assig...

oltre 2 anni ago

Solved


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

oltre 2 anni ago

Solved


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

oltre 2 anni ago

Solved


Sum of integers numbers
Sum of the numbers from 1 to 100

oltre 2 anni ago

Solved


square root
Find the square root (y) of an input (x).

oltre 2 anni ago

Solved


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

oltre 2 anni ago

Solved


length of a vector
Find twice the length of a given vector.

oltre 2 anni ago

Solved


Project Euler: Problem 10, Sum of Primes
The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below the input, N. Thank you <http:/...

oltre 2 anni ago

Solved


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

oltre 2 anni ago

Solved


Matrix to column conversion
Given a matrix of any size, convert it into a column vector. e.g A=[10 20 30; 40 50 60] then, B = [10; 40; ...

oltre 2 anni ago

Solved


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

oltre 2 anni ago

Solved


Is my wife right? Now with even more wrong husband
Again, as in "Is my wife right?" ( <http://www.mathworks.com/matlabcentral/cody/problems/149-is-my-wife-right> ), answer 'yes' r...

oltre 2 anni ago

Solved


Array of Ones
Create a 100 X 100 array of ones.

oltre 2 anni ago

Solved


Given area find sides
In a right angle triangle given area 'A' one arm=x, another arm=2x then find the value of x. For example, area A=400 then ...

oltre 2 anni ago

Solved


Replace multiples of 5 with NaN
It is required to replace all values in a vector that are multiples of 5 with NaN. Example: input: x = [1 2 5 12 10 7] ...

oltre 2 anni ago

Solved


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

oltre 2 anni ago

Solved


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

oltre 2 anni ago

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

oltre 2 anni ago

Solved


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

oltre 2 anni ago

Solved


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

oltre 2 anni ago

Solved


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

oltre 2 anni ago

Solved


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

oltre 2 anni ago

Solved


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

oltre 2 anni ago

Solved


Summing digits
Given n, find the sum of the digits that make up 2^n. Example: Input n = 7 Output b = 11 since 2^7 = 128, and 1 + ...

oltre 2 anni ago

Solved


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

oltre 2 anni ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

oltre 2 anni ago

Solved


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

oltre 2 anni ago

Load more