Community Profile # Dyuman Joshi

Last seen: Today 2012 이후 활성

Mechanical Engineer IITG'20

Programming Languages:
MATLAB
Spoken Languages:
English

#### Statistics

All
• • • • • • • • • • • • 배지보기

#### Content Feed

보기 기준

답변 있음
Storing a variable and calling it out again to use and plot
How can you plot with different numbers of x values and y values? x =-0.8:0.8:5; T=ones(1,5); T(1,5)=40; numel(x) numel(T) ...

약 20시간 전 | 0

답변 있음
adding a variable into a vector
Your deltax is incorrectly defined and due it all subsequent calculations are incorrect as well. %It should be L=0.8; gridpoi...

약 21시간 전 | 0

해결됨

Project Euler: Problem 9, Pythagorean numbers
A Pythagorean triplet is a set of three natural numbers, a b c, for which, a^2 + b^2 = c^2 For example, 3^2 + 4^2 =...

약 24시간 전

답변 있음
where is the error in my code?
syms doesn't go with function handles. fplot is purely for symbolic function, not function handles. V1 = @(w) -acosh(10*(w./(2...

4일 전 | 0

답변 있음
How to return values mapped to a variable?
Not sure what you want exaclty a = [1 2 3 4 5 6 7 8 9 10]; b = [4 5 12 45 21 52 69 10 22 0]; a_temp = isprime(a) b_temp = b(...

4일 전 | 0

해결됨

perfect square
Perfect square is amazing, so we have problems like 45183, 34482, 44683, and 44957. But how can we find a large number is a pe...

4일 전

답변 있음
Reverse order of X axis
Building on @Image Analyst's comment, reversing the x-tick labels Exp = 0:15; % Days to expiration P = linspace(10, 30, leng...

5일 전 | 0

| 수락됨

답변 있음
How to get a data set using Mean and standard deviation
mu=63; sigma=2.3; %generate normally distributed numbers y=randn(1,10); y=sigma*(y-mean(y))/std(y)+mu mean(y) std(y)

7일 전 | 0

| 수락됨

답변 있음
I want to obtain value of "W" for different combination of values of (psi,r) example. "W" for (psi=0.0001,r = 2.1891) ; (psi=0.001,r = 2.1940); (psi=0.01,r = 2.2373) and so on
%loop psi=[0.0001,0.001,0.01]; r=[2.1891,2.194,2.2373]; for i=1:numel(psi) W(i)=calculateW(psi(i),r(i)); end W %array...

7일 전 | 0

| 수락됨

해결됨

Image Processing 2.1.1 Planck Integral
Integrate the Planck function in Lambda (um) at T (K) accurately and quickly to find Radiance for a Lambertian source. Planck...

7일 전

답변 있음
find node with maximum degree
Your "label" seems incorrect. node=[1 2 3 4 5 6 7 8 9 10 11 12 13 14 15]; degree=[11 11 12 10 15 10 8 14 12 1 8 6 2 18 5]; de...

7일 전 | 0

해결됨

Choose group with people
How many ways can you choose n groups of n people from n^2 people, assuming the groups are distinct? The number of people is gi...

9일 전

해결됨

Split bread like the Pharaohs - Egyptian fractions and greedy algorithm
How would you split 5 loaves of bread among 8 people in all fairness? Get a hint from the Pharaohs. 5/8 = 4/8 + 1/8 , i.e. each ...

10일 전

해결됨

GJam: 2013 Rd1a Bullseye Painting
<http://code.google.com/codejam/contests.html Google Code Jam> 2013 Round 1a Bullseye challenge is to determine how many full ri...

12일 전

해결됨

GJam 2012 Qualifier: Tongues
This Challenge is a Warm-Up for <http://code.google.com/codejam/schedule.html Google Code Jam 2014> Qualifying round coming up o...

12일 전

해결됨

Looking for Squares
Need n squares that equal one square all together, none zero, none fractured. For example, calling squares(2) should output [16...

12일 전

해결됨

List Proth primes

12일 전

해결됨

Sum the elements in rows of the Levine triangle
The Levine triangle starts as follows: Row 0: 2 Row 1: 1 1 Row 2: 1 2 Row 3: 1 1 2 To construct each row, r...

13일 전

답변 있음
How to set bottom repeating elements in matrix to NaN?
Edited as per a comment a=[1 2 3 2 1 3 3 1 1 3 1 2 1 2 3 3 2 1 1 2 1 2 1 3 1 2 3 1 2 1]; for j=1:2 ...

13일 전 | 0

답변 있음
Filter Matrix over a specific value
The new dimension would be 1x5, not 1x4 data=1:10 data(data>5)

15일 전 | 1

| 수락됨

답변 있음
check 2 same numbers in a matrix
y= [80 39 101 39 101 175 237 172 232 168 232 168 104 40] nnz(y==39)==2 nnz(y==168)==2

15일 전 | 1

| 수락됨

해결됨

AES SubBytes() Transformation
Given a 16x2 input character hexadecimal array representing the AES state, execute the AES algorithm SubBytes() transformation a...

16일 전

답변 있음
For loop to make an array from workspace variables
The way you have written your loop, the variable xlength gets overwritten every iteration. %Concatenating in a char array xlen...

16일 전 | 1

답변 있음
Limiting bulitin function (sine)
You have to call your function for each value of x and store it in another variable and then plot it, as your function is define...

16일 전 | 1

| 수락됨

답변 있음
Create a vector to represent the polynomial p(x)=4x5−3x2+2x+33. a) Find the roots p(x) b) The value at p(4)
Check out how to Create and Evaluate polynomials, roots and polyval

16일 전 | 0

답변 있음
how to return indices?
Based on your comment - %random data y=randi(30,2,3,4) z=NaN(2,3,4); z(y<15)=y(y<15)

17일 전 | 1

| 수락됨

답변 있음
How to remove rows in a cell array with a number of Nans major than a threshold
%random data y={NaN(1,50);[zeros(1,5) NaN(1,35) ones(1,25)];[primes(100) NaN(1,37)];... [0.5*(1+sqrt(5)) pi exp(1) NaN(1,5...

17일 전 | 1

| 수락됨

답변 있음
MATLAB is taking too much time to solve the following integral?
integral is used for numerical integration of functions, not partial integrations. It expects numerical value for 2nd and 3rd in...

18일 전 | 0

| 수락됨

해결됨

Local Extrema
Given a 2D (m,n>1) matrix, replace an element if it is not a local extrema (minima/maxima), with 0 (zero). Check the 3 neighbou...

18일 전