Community Profile

photo

Dyuman Joshi


Last seen: Today Active since 2012

Mechanical Engineer IITG'20

Programming Languages:
MATLAB
Spoken Languages:
English

Statistics

All
  • MATLAB Mini Hack Participant
  • Treasure Hunt Participant
  • Thankful Level 2
  • Thankful Level 3
  • R2016b Feature Challenge Master
  • Famous
  • 5-Star Galaxy Level 1
  • Personal Best Downloads Level 1
  • Likeable
  • Puzzler
  • Sequences And Series I Master
  • Knowledgeable Level 4

View badges

Content Feed

Answered
I try this coding but it's say plot error..what wrong with my coding?
Use fplot to plot symbolic expressions syms t f=exp(t)*sin(3*t); c=0.003; I=c*diff(f); figure; fplot(I); grid; xlabel('...

1 giorno ago | 2

Answered
cell merge and print
y=[45 45 65 65 28 28; 1 1 9 2 4 1; 9 4 7 2 3 1] z=mat2cell(y, [1 1 1], [2 2 2])

2 giorni ago | 0

Answered
Check for incorrect argument data type or missing argument in call to function 'isnan'.
The output of inputdlg is in form of cell array as you can see it your command window (below your editor) Use isaNumber = isna...

2 giorni ago | 1

Answered
hello! how can I create a matrix (size 10X10) with random numbers of 1 and -1?
y=[-1 1]; z=y(randi(2,10,10))

2 giorni ago | 1

Solved


Merge structs on fields
Merge a bunch of structs into one, containing the field names and corresponding values of all input structs. For duplicate field...

2 giorni ago

Answered
"Double for loop", question
Your data is being overwritten as the for loops runs. For the 1st for loop for i=1:n for j=1:n R(i)=a(j)*b(i);...

2 giorni ago | 1

Answered
replace matrix A with the values of another matrix B
A(:,:,1) = [0 0 1; 0 1 0; 0 1 1]; A(:,:,2) = [1 0 0; 0 0 0; 0 0 0]; A(:,:,3) = [0 1 0; 1 0 1; ...

2 giorni ago | 2

Answered
Mean and Median of Values in a matrix
I am giving you an example for one variable. meanvalue=[]; medianvalue=[]; for i=800:100:lastvalue y=flowrate(flowrate>=...

3 giorni ago | 0

Answered
How to generate a matrix with desired pattern using nested for loops?
n=5; A=zeros(n); for i = 1:n for j = min(i,n-i+1):max(i,n-i+1) A(i,j) = 1; end end A

3 giorni ago | 1

| accepted

Answered
I need to write a code to solve a system of equations with formatted output (fprintf).
A=[1, -3, 2; 2, -4, 3; 3, -5, -4]; B=[-11; -15; 5]; x=inv(A)*B; fprintf('x=%d, y=%d, z=%d.', x(1:3))

4 giorni ago | 1

Solved


Check Digit - 02
Given a list of ISBN's, check whether they're valid or not. Prev Prob - <https://www.mathworks.com/matlabcentral/cody/problem...

4 giorni ago

Answered
Find the gradient vector field of f . f (x,y,z)= x^2ye^y/z
syms f(x,y,z) f=x^2*y*exp(y/z) grad=[diff(f,x) diff(f,y) diff(f,z)]

4 giorni ago | 1

| accepted

Solved


Logic x

4 giorni ago

Solved


What is the current time in Darwin, Australia?
Traders need to track exchange calendars and trading hours in detail, and account for time zone differences and daylight savings...

5 giorni ago

Solved


chess position
given the position of a chess piece in algebric notation, convert it into 8 by 8 matrix format. For example, * 'Qd5' >> [3,4]...

5 giorni ago

Solved


decipher the number 1 - same key for all digits :)
You will be given a input number (eg) x=12345 you have to figure out the dechiper key and match it with given input and deciph...

5 giorni ago

Solved


Creation of 2D Sinc Surface
This Challenge is to efficiently create the Sombrero function of various sizes, resolutions, and frequencies. <<https://sites...

5 giorni ago

Answered
Problem stataments in Matlab
I'm assuming that the data in Column 1 and Column 2 is char/strings. %T is your table cd=0; %counting $ userd=[]; for i=1:si...

5 giorni ago | 0

Answered
if function works in one table but not in another
Use isequal or strcmp if you are comparing the whole string. Use ismember or array indexes if you want to compare partial stri...

5 giorni ago | 2

Solved


Scrabble Scores - 10
This problem is very similar to the previous problem. Here, you are provided a letter of an existing word on the board from whic...

7 giorni ago

Solved


Scrabble Scores - 9
After developing a sophisticated Scrabble scoring routine, it's time to write an optimization routine for single-word scoring. T...

7 giorni ago

Solved


Propagate the effects of a blockage in a chemical plant
From the perspective of flow, a chemical plant can be described by a collection of _nodes_ and _edges_. _Nodes_ are points where...

8 giorni ago

Answered
How do I automate adding columns together
An example based on what you wrote y = randi(100,513,63); z=[]; for i=1:3:63 %groups of 3 as you mentioned z=[z sum(y(:,...

8 giorni ago | 1

| accepted

Solved


Exhaust all possible logical vectors
Input a length argument and list all possible logical vectors of that length. My solution is of size 29. Can you find an even s...

9 giorni ago

Solved


String Logic 11
Examples: 'SUNDAY' --> 6 'MONDAY' --> 6 'TUESDAY' --> 7 'WEDNESDAY' --> 9 'THURSDAY' --> 8 'FRIDAY' --> 5 'SATURDAY' --...

10 giorni ago

Solved


String Logic 10
Examples: 'SUNDAY' --> 83 'MONDAY' --> 77 'TUESDAY' --> 84 'WEDNESDAY' --> 87 'THURSDAY' --> 84 'FRIDAY' --> 70 'SATURD...

10 giorni ago

Solved


Stop a ZigZag scanning N*N Matrix at any diag you want
Suppose that we have a 2-D matrix and we try to obtain a 1-D array in zig-zag order, but not all values of our 2-D matrix e...

10 giorni ago

Answered
FFT WITHOUT Built-in functions
Using the definition given at the end of FFT document %x is your input x=[1 2 3 4]; fft(x) %using for comparison Method 1 %...

10 giorni ago | 1

Solved


String Logic 16
Examples: 'DIG' --> 'DIG' 'KIMBALL' --> 'ALLKIMB' 'DEAL' --> 'EALD' 'LIMB' --> 'IMBL' 'MADE' --> 'ADEM'

12 giorni ago

Solved


String Logic 14
Examples: 'DIG' --> 'HRN' 'KIMBALL' --> 'VRZDBXX' 'DEAL' --> 'HJBX' 'LIMB' --> 'XRZD' 'MADE' --> 'ZBHJ' 'CHEF' --> 'FPJL'

12 giorni ago

Load more