Community Profile

# Dyuman Joshi

##### Last seen: Today
1.262 total contributions since 2018

Mechanical Engineer

View all

Contributions in
View by

Solved

Return median of a matrix
Compute median of a matrix of any dimension. Exclude the NaNs if any.

ongeveer 2 uur ago

Solved

Sunday bonus
Submit a solution on any Sunday and you will get 10 points. Only for MATLAB fans!

ongeveer 3 uur ago

Solved

Normie Function (2)
Another _Normie Function_ defined as _f(n)= f(n-1)+f(n-2)+f(n-3)_ , *when n>3* and _1_ , *when n<=3*. *Find the nth term of this...

ongeveer 3 uur ago

Solved

Normie Function
So, I built a function and gave it a name- _Normie_. *Find the nth term of Normie function:* _f(n)= 1*f(n-1)+ 2*f(n-3)+ 3_ , *...

ongeveer 3 uur ago

Solved

Determine the number of correct and incorrect answers
In a Multiple Choice Question Test, you are to sort out answer from 4 samples, one of them is correct answer. There are 50 quest...

ongeveer 3 uur ago

Solved

Basic matrix operations using standard MATLAB commands
Create the matrix: 1.0e+15 * 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000...

ongeveer 3 uur ago

Solved

Find NaNs in the matrix
Return 1s wherever there is a NaN in the input matrix

ongeveer 6 uur ago

Solved

Calculate mean value of any pair in a vector.
Given a vector A, calculate the mean of 2 number in the vector one by one. example: input: A=[1, 5, 6, 8, 9, 15] output:...

ongeveer 7 uur ago

Solved

Prime numbers between a , b.
Find all prime number between a & b (including a and b). example: a=100 b=120 y= [101 103 107 109 113]

ongeveer 7 uur ago

Solved

Calculate time taken by light to reach earth surface
We know the time(seconds) taken by light to reach surface of earth. What if the distance varies yearly or source of light moves ...

ongeveer 7 uur ago

Solved

count upper and lower case characters
In a given input string, count and return the number of upper and lower case characters as u and l respectively. For example:...

ongeveer 7 uur ago

Solved

ASCII sum of phrases
Find the sum of the numeric equivalents of all characters entered in a phrase. For example: for the phrase 'My name is test', th...

ongeveer 7 uur ago

Solved

Repetition of matrices
*A is a bold matrix: [1 2 3; 4 5 6;7 8 9]* Given an integer 'n' , a matrix B exists such that has n copies of A in the row an...

ongeveer 7 uur ago

Solved

Capitalized string operations
Convert the input sentence to upper case and replace all vowels with an underscore ('_')

ongeveer 8 uur ago

Solved

Basics: counting digits of a number irrespective of the sign
publish the number of digits in any input integer example: -23---->2

ongeveer 8 uur ago

Solved

find number of times of occurrence of the most frequent number in a row vector
In a given row vector, find the number of times a mode of a row vector has occurred example: in [2 5 5 5 5 3], output is 4 ...

ongeveer 8 uur ago

Solved

generate capital english alphabets
Based on the numeric input 'n', generate the capital english alphabet starting from A till the english alphabet at the 'n'th pos...

ongeveer 8 uur ago

Solved

Pass the Threshold!!
Write a Matlab function that will take as input a matrix of arbitrary dimensions and a scalar threshold value, and return a vec...

ongeveer 8 uur ago

Solved

Solve The Equation
The coefficients of a system of equations are given in two vectors, x1 and x2. Write a function to solve the equation and return...

ongeveer 8 uur ago

Solved

New Matrix with vector addition on diagonal
consider 2 vectors x=[1 2 3] y=[4 5 6] then generate a new Matrix, where Addition of x & y will be diagonal Elements...

ongeveer 9 uur ago

Solved

Find The Difference
Vector x is given.calculate the difference between the biggest and the smallest number that we can create from elements of x. f...

ongeveer 9 uur ago

Solved

Scalar Matrix Manipulation
Assume, input x is a scalar matrix such as, x = 2 0 0 0 2 0 0 0 2 th...

ongeveer 9 uur ago

Solved

Find the complement of a number in binary
Input x is a decimal number and output y is the complement of binary representation of x. For example, x = 10 has the binary ...

ongeveer 9 uur ago

Solved

Sum the entries of each column of a matrix which satisfy a logical condition.
Given a numeric matrix A and a logical array L of the same size as A, return a row vector S containing the columnwise sums of th...

ongeveer 10 uur ago

Solved

Optimization of cylinder surface area
Optimization of a cylinder surface area. What are the best parameters (radius and height) to get the minimum cylinder surface a...

ongeveer 11 uur ago

Solved

Given consecutive numbers, add the numbers *without using the sum command in MATLAB.*

ongeveer 11 uur ago

Solved

Double the next!
Given two numbers, m and n, find a matrix m x n where each element value is twice the value of the previous element. Starting fr...

1 dag ago

Solved

Get the value 100
Knowing that 123-45-67+89=100, write a function that gives this result for any order of the digits in the input. Otherwise, the ...

1 dag ago

Solved

Check if is a square
Given four coordinates, write a function to check if they form a square on the XY plane.

1 dag ago

Solved

Perimeter
Given a sequence of points forming a closed path (first and last points are coincident) return the perimeter value. For example...

1 dag ago