Community Profile # Dyuman Joshi

Last seen: Today Active since 2018

Mechanical Engineer IITG'20

Programming Languages:
C
Spoken Languages:
Hindi

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

Solved

Outer product of multiple vectors
In tensor algebra, it is often useful to define a tensor as a product of lower order tensors. Similarly, a multidimensional arra...

2 jours ago

Using forloop and whileloop to find if a number has appeared repetitively
You can also use groupsummary but since you mentioned loops, here a way with for loop - Since the size of the groups differ, i...

8 jours ago | 0

| accepted

Coordinates of each rectangular cell is required
You are defining C1X1 incorrectly (trying to fit 4 elements as 1) - x=zeros(1,5)+5; y=linspace(4,16,5); xx=x'; yy=y'; [XX,...

8 jours ago | 1

| accepted

How do I create a function for returning a figure?
Example (replace data and labels accordingly) function y %xdata x=0:0.1:50; %ydata y=sin(x); figure(1) %initiate a figure ...

8 jours ago | 1

Solved

Usage of java.math : N Choose K with unlimited precision
Calculate the binomial coefficient nchoosek with full accuracy. This challenge may use the wonderful word of java.math that allo...

8 jours ago

Solved

Usage of java.math : Add, Multiply, Pow
This challenge is an introduction to the wonderful word of java.math that allows unlimited precision calculations. The primary ...

9 jours ago

Solved

Infinite precision division
Develop a function that will divide a very very large integer numerator, supplied to function as a string (e.g., '12233344445555...

9 jours ago

Solved

How to multiply?
Imagine you are in 3012 Anno Domini, when everyone must learn how to multiply, and competing for the highly prestigious post of...

9 jours ago

Solved

* Imagine you are in 2222 Anno Domini, when everyone must learn how to add, * and competing for the highly prestigious post of,...

9 jours ago

Solved

Community Problem 500!
In honor of this being the 500th Community problem, see if you can create a function that has a Cody size of 500. It can do anyt...

10 jours ago

Find the polynomial expression given the following factors:
It is correct. syms x expand((x+3)*(x-2)*(x+2)*(x+4)) You can also use sym2poly if you have the symbolic toolbox to convert ...

12 jours ago | 1

| accepted

Splitting an array by the value
y = [9 9 6 4 4 7 9 9 9 9 9 9 9 7 7 5 7 7 9 9 9 9 9]; att = [95.4508 85.2212 97.6083 99.3070 99.9607 99.5018 99.4400 97.4173 99....

13 jours ago | 1

| accepted

two variables one equation 3D plot
I have modified your code - clc;clear eL=0; eR=0; gammaL=-2; ...

13 jours ago | 1

| accepted

Vectors as a function
syms x y z t r x=cos(t); y=log(t+2); z=t; r=[x y z]; sol=[1 log(sym(2)) 0]; arrayfun(@(k) solve(eq(r(k),sol(k)),t), 1:nume...

13 jours ago | 1

| accepted

Solved

Give me Hamming on five, hold the mayo
A Hamming Number is a positive number that has no prime factor greater than 5. Given a number X, determine how many Hamming num...

13 jours ago

Solved

Van Eck's Sequence's nth member
Return the Van Eck's Sequence's nth member. For detailed info : <http://oeis.org/A181391 OEIS link> and <https://www.theguard...

13 jours ago

Solved

Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

13 jours ago

Solved

Sums of Distinct Powers
You will be given three numbers: base, nstart, and nend. Write a MATLAB script that will compute the sum of a sequence of both ...

14 jours ago

Solved

Why the heck are they blinking!?!?
Merry Christmas everyone! Sadly, the lights you've had on your tree for so many years burned out, and it's time to get a new se...

15 jours ago

Solved

Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

15 jours ago

Solved

Convert matrix to 3D array of triangular matrices
Given a 2D numeric array x in which each column represents the vectorized form of an upper triangular matrix, return a 3D array ...

15 jours ago

Solved

Hankelize a matrix
Similar to <http://www.mathworks.com/matlabcentral/cody/problems/42501-toeplitize-a-matrix Problem 42501. Toeplitize a matrix>, ...

15 jours ago

Solved

Number Puzzle - 074

16 jours ago

Solved

Find offset of an element of a multi dimensional matrix
For a given multi dimensional matrix and given element, find its offset from the 1st element. Return 0, if element is not fo...

16 jours ago

Solved

Free Fall analytical solution (Chapra 2012 textbook Example 1.1)
Analytical solution to bungee jumper problem. Given time series as a vector, parameters mass and drag coefficient, and gravit...

16 jours ago

Solved

Solve a ballot counting problem

17 jours ago

Solved

The other half of the Fibonacci sequence
The <http://mathworld.wolfram.com/FibonacciNumber.html "Fibonacci sequence"> — F = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,...

17 jours ago