Community Profile

# Dyuman Joshi

Last seen: Today 2012년부터 활동

Mechanical Engineer IITG'20

Programming Languages:
MATLAB
Spoken Languages:
English
Professional Interests:
Fluid Dynamics, Aerospace Engineering, Aerodynamics, Computational Fluid Dynamics (CFD)

All

배지 보기

#### Content Feed

보기 기준

문제를 풀었습니다

Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

약 13시간 전

문제를 풀었습니다

In mathematics, a Hadamard matrix, named after the French mathematician Jacques Hadamard, is a square matrix whose entries are e...

약 16시간 전

답변 있음
Taking one dimension of a matrix
in = rand(972,48,128); out = in(1,:,:); size(out)

1일 전 | 0

| 수락됨

답변 있음
Attempt to grow array along ambiguous dimension. it happens when N,M are smaller then the total of A,B. can I make my code work for any value of N,M? if so how would I do that
The number of elements in C is greater than the total number of elements pre-allocated in res. You can not put 22 elements in 2...

2일 전 | 0

| 수락됨

답변 있음
What is the function of this button? Where is the corresponding official document link？
The function of the button is to generate Fixed-point data via a dialog box. I don't know if there is a documentation specifica...

2일 전 | 0

답변 있음
Error using * Dimension do not match
As you can see here, Jac is 2x2, thus inv(Jac) will also be 2x2 and f is 1x2. The multiplication of 2x2 with 1x2 is not possible...

3일 전 | 0

답변 있음
Homogenuous differential equation with conditions
j=22; y=[-8.2,0.6]; As you can see below, you are using non integer values as an index, which is not possible. i = -8.2:j+0.6...

4일 전 | 0

답변 있음
How do I plot the different elements of a matrix in a single plot?
for t = 0:1:100 omega1 = 0.02*cos(0.15*t) + 0.03*sin(0.15*t); omega2 = 0.03*cos(0.15*t) - 0.02*sin(.15*t); omega3...

4일 전 | 0

답변 있음
Generate array of sequence pairs without iteration
A combination of repelem and repmat - M=13;N=8; %corresponding arrays m=1:M;n=1:N; out1=[repelem(m',N,1) repmat(n',M,1)] ou...

5일 전 | 0

| 수락됨

답변 있음
How to store values in matrix form for differn iteration
Use reshape() %in case of row array x=1:3500; y=reshape(x,7,500)' %in case of column array a=(1:3500)'; b=reshape(a,7,500)...

5일 전 | 0

| 수락됨

답변 있음
Convert Equastion to Matlab Code
Transfer Function Model Example for reference

6일 전 | 1

답변 있음
How do i plot many short horizontal lines when a value is available?
%random data A=randi(100,1,10) B=randi(100,1,12) %You can not use max, because A has less elements than B elements N=min([nu...

7일 전 | 0

답변 있음
Convert numeric 2D array to array of orders of values
I couldn't think of a vectorized solution (yet), so here is the for loop approach. If and when I find a vectorized solution, I ...

8일 전 | 0

| 수락됨

문제를 풀었습니다

feeling VERY lucky?
Just like Matthew's problem 2793 and Edward's problem 2872 (guess the number that Cody is thinking) but now you must solve it in...

8일 전

답변 있음
Variable passed through function doesn't work
How are you calling the function? Also, Use strcmp or isequal to compare strings behavior = 'drug' isequal(behavior,'drug') ...

9일 전 | 0

| 수락됨

답변 있음
can someone check the code i have problem
You can do that without defining C (If I understand what you want to do correctly) B = [4;6;4;6;6;4]; m = 6; n = 30; L = 200...

9일 전 | 0

| 수락됨

답변 있음
How to write this thetta fuction in Matlab? I have an example code in Python
@Beket, your code needs some changes 94th and 95th line of your code, you used b in c_rinf before defining it. c_rinf = @(r) Q...

9일 전 | 1

답변 있음
Writing IF STATEMENT that omits empty fields in different arrays of a structure
You need to use () with isempty, otherwise it would assume the input to be a string array y = []; isempty(y) isempty y %even...

9일 전 | 0

답변 있음
Arranging a vector to new index position
You mean like this n=15; E = randi(50,1,n) idx = randperm(n) Eprime = E(idx)

10일 전 | 2

| 수락됨

답변 있음
How can I rearrange this matrix into new one?
Assuming data is homogenous (In pairs throught-out), and end value is greater than or equal to first value. data=[50 67.5; ...

10일 전 | 1

| 수락됨

답변 있음
Why my function is not vectorized
dv = [1 5 10 20 50]; vc = sqrt(0.8*200*2*365*24*3600)/1000; figure for i = 1:5 dvc = dv(i); %vectorizing the functi...

10일 전 | 1

| 수락됨

답변 있음
How to create a matrix of ones and zeros with location of ones based on array that also contains zeros?
You get the error because the code includes 0 as an index. V = [3 1 1 5 0 4]; idx = V~=0; m = max(V); n = numel(V); R =...

11일 전 | 0

| 수락됨

문제를 풀었습니다

Counting Permutations
In the permutations of the numbers 1 to n, count the number of permutations in which exactly m elements are greater than the pre...

11일 전

답변 있음
How to change entries in matrix based on another matrix?
A=[0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0...

11일 전 | 0

| 수락됨

답변 있음
Why does an array have a different column dimension than the array used to define that array?
You have defined B directly from a logical condition. When you do so, MATLAB checks for logical true values and defines accordin...

11일 전 | 0

| 수락됨

문제를 풀었습니다

Play PRIMEGAME
Have you ever used the Sieve of Eratosthenes and said, "I wonder whether there’s a less efficient way to find prime numbers."? N...

11일 전

문제를 풀었습니다

Evaluating continued fractions
Given row vector c=[c0 c1 c2 c3 ...] evaluate the continued fraction x=c0+1/(c1+1/(c2+1/(c3+...))) If c is a ...

12일 전

문제

Counting Permutations
In the permutations of the numbers 1 to n, count the number of permutations in which exactly m elements are greater than the pre...

12일 전 | 1 | 솔버 수: 6

문제를 풀었습니다

Determine flows of given probability using empirical frequency analysis
Write a function that takes as input observations of peak streamflow and exceedance probabilities expressed as percentages an...

13일 전

문제를 풀었습니다

Find number patterns in rows of a matrix...
So I think this may be a hard one, may be it was only hard for me! So here is what it is, I will give a matrix, with some numbe...

14일 전