Dyuman Joshi
Mechanical Engineer (IITG '20) | Moderator - MATLAB Cody since Jan 2021 | Time zone - IST (GMT +5.30) For any queries related to MATLAB Cody/Answers, contact me through my profile.
Python, MATLAB
Spoken Languages:
English, Hindi
Pronouns:
He/him
Professional Interests:
Fluid Dynamics, Aerospace Engineering, Computational Fluid Dynamics (CFD), Hydraulics and Pneumatics
Statistica
1 File
Cody DiscussionsRANK
45
of 300.799
REPUTAZIONE
4.358
CONTRIBUTI
10 Domande
1.245 Risposte
ACCETTAZIONE DELLE RISPOSTE
70.0%
VOTI RICEVUTI
655
RANK
8.201 of 21.092
REPUTAZIONE
107
VALUTAZIONE MEDIA
5.00
CONTRIBUTI
1 File
DOWNLOAD
10
ALL TIME DOWNLOAD
947
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
1 Punto principale
NUMERO MEDIO DI LIKE
0
Feeds
Risolto
Pascal's Triangle
Create a matrix of size N x N containing a Pascal's Triangle that starts from the upper left corner according to the test cases ...
circa 11 ore fa
Risolto
The Case of the Missing Prototype – Match the Footprints Found in the Lab to the Suspects’ Shoe Sizes
The dust on the Innovation Lab floor reveals several footprints.You’ve measured their shoe sizes and noted them in a vector size...
1 giorno fa
Risolto
The Case of the Missing Prototype – Detect Tampered Sensor Readings from the Stolen Device’s Data Logs
You’ve recovered partial sensor data from the stolen prototype.Each reading is stored in a numeric vector data, but something se...
1 giorno fa
Risolto
The Case of the Missing Prototype – Calculate the Car’s Average Speed Between GPS Readings to Trace the Escape Route
Using GPS data, you’ve obtained the total distance (in meters) traveled by the suspect’s car at equal time intervals.These readi...
1 giorno fa
Risolto
Don't Include a Five
Given a vector A, return vector B with all 5s replaced with 0s.
1 giorno fa
Risolto
Don't Include a Five (Part Two)
Given a vector A with at least one non-five, return vector B, with all fives excluded (not replaced by zeros).
1 giorno fa
Risolto
The Five Infection (Boss Level)
Given a 3x3 matrix A, replace: every value that is equal to five every value that is directly adjacent to a five with zero in...
1 giorno fa
Risolto
Compute frequency factors for the normal distribution
In frequency analysis in hydrology, the streamflow corresponding to a specified exceedance probability (or return period ) can...
1 giorno fa
Risolto
Compute the area of a lune
Write a function to compute the area of the shaded moon-shaped region in the figure below—that is, the area of a smaller circle ...
1 giorno fa
Risolto
Compute the total length of lines between all vertices of a regular polygon
Write a function to compute the total length of between all vertices of a regular polygon inscribed in a unit circle. For exampl...
1 giorno fa
Risolto
nxn matrix with elements from 1:n^2
input n defines the dimension of a square matrix to be filled from 1 to n^2 with 1 in upper left corner and n^2 in bottom right...
2 giorni fa
Risolto
Bullseye Matrix with Zeros
Inspired by Problem 18, create a bullseye matrix with the addition of padding equal to 0 between concentric rings. Matrices are ...
2 giorni fa
Risolto
Creating a matrix by taking shifted copies of a given vector v as columns
This problem is the same as the problem 761 except that here we are testing it for any given vector ; a row or column vector. Th...
3 giorni fa
Risolto
Find the surface area of a cone.
For instance, Given r (radius) = 3, and s (slant height) = 5: surface area should be 94.
3 giorni fa
Risolto
Collect a set of candy wrappers
This past Halloween, the siblings Matilda and Labrun amused (and sometimes confused) their many neighbors with their costumes in...
3 giorni fa
Risolto
Divisible by 5
Pursuant to the first problem in this series, this one involves checking for divisibility by 5. Write a function to determine i...
3 giorni fa
Risolto
Divisible by 4
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...
3 giorni fa
Risolto
Inscribed Pentagon? 2
Your function will be provided with the five vertices of a pentagon (p) as well as the center point (cp) and radius (r) of a cir...
3 giorni fa
Risolto
5th Time's a Charm
Write a function that will return the input value. However, your function must fail the first four times, only functioning prope...
3 giorni fa
Risolto
Carmichael Number
Car michael number is a composite number which satisfy following relation: for all integers which are coprime to . ...
4 giorni fa
Risolto
Extract diagonal of sparse quadratic form
Consider the matrix A and vector v given by, A=round(sprand(5e3,1e4,1/1e4*100)*100); v=randi(10,width(A),1); Write a rout...
5 giorni fa
Risolto
2x2 binning of a large sparse matrix
Consider the 20000 x 20000 sparse matrix, A=round(sprand(2e4,2e4,1/1e4*100)*1000); The task is to divide this matrix into 2x...
5 giorni fa
Risolto
Condition number of Kronecker product
Given NxN matrix A and MxM matrix B, where M,N<=1000, write a routine to compute the condition number of kron(A,B).
5 giorni fa
Risolto
Build a block Toeplitz matrix
A symmetric block Toeplitz matrix has the form, where the are compatibly-sized matrices. Write a routi...
5 giorni fa
Risolto
Pairs with Given Sum
Given an array of integers and a target sum, return all unique pairs whose sum is equal to the target. The output should be a ma...
5 giorni fa
Risolto
Connect Four - 02
Previous Problem <https://www.mathworks.com/matlabcentral/cody/problems/45354-connect-four-01> In addition to previous proble...
6 giorni fa
Risolto
Seconds
Given the number of seconds after 12 am, find the time in the given format (12/24). If the format is not mentioned, use 24-hour...
6 giorni fa
Risolto
Dominant Matrix - 02
It is a follow-up of the problem 55995. There, you found out whether a matrix is diagonally dominant or not. In this problem, y...
6 giorni fa
Risolto
Unique rows
A matrix is given as the input. Remove any duplicate rows from the matrix. keep the first occurrence.
6 giorni fa
Risolto
Symmetric Pair
Given an (n, 2) matrix, remove any symmetric pairs from the matrix. Keep the first occurrence. (2, 3) and (3, 2) are considere...
6 giorni fa











