Community Profile

photo

Dyuman Joshi


Last seen: Today Aktiv seit 2012

Mechanical Engineer IITG'20 Time zone - GMT +5.30 (IST)

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

Statistiken

All
  • MATLAB Mini Hack Participant
  • Treasure Hunt Participant
  • Guiding Light
  • 12 Month Streak
  • Matrix Manipulation II Master
  • Curator
  • Personal Best Downloads Level 2
  • 5-Star Galaxy Level 1
  • Number Manipulation I Master
  • Sequences And Series I Master
  • Knowledgeable Level 5
  • Strings I Master

Abzeichen anzeigen

Content Feed

Anzeigen nach

Beantwortet
A compact “if” statement using “or” operator
Yes there is - ismember vec = [1 2 7 8 10]; i = 4; %Checks if elements in i are present in vec or not ismember(i,vec) if is...

etwa 10 Stunden vor | 1

| akzeptiert

Gelöst


Determine whether a number is prome
In discussing the unique factorization of numbers in Elementary Number Theory, Underwood Dudley devised a new number system: “C...

ein Tag vor

Beantwortet
Problem 44951. Verify Law of Large Numbers
Hi @belva, 1 - There is an unsupressed variable, y, in the code, which has 100 million elements. Since it is unsupressed, MATLA...

ein Tag vor | 1

Beantwortet
Removing rows except containing certain numbers of "33"
You are trying to compare numeric data with character data. You will have to convert your initial data to do that comparison. I...

7 Tage vor | 1

Beantwortet
Summation of a Gamma series
syms x n %summation out = symsum(ExpressionToBeSummed, n, 0, Inf) You will obtain the sum in terms of the Hypergeometric func...

7 Tage vor | 0

Beantwortet
3D plot Between one known and two unknown parameter.
"In 2D, it will definitely give a circle." I assume you want to obtain all the circles corresponding to values in R in the same...

7 Tage vor | 0

| akzeptiert

Gelöst


Draw '5' in Chinese.
Draw a x-by-x matrix '五' using 1s and 0s. Example: x=5 ans= [1 1 1 1 1 0 1 0 0 0 1 1 1 1 0 0 1 0 1 0 1 1 1 1 1] x=7...

8 Tage vor

Beantwortet
Plotting in 3D
If you have already posted a question, add any related info to the same question. Do not post a new question with new informatio...

8 Tage vor | 1

| akzeptiert

Beantwortet
how i can fix this error?
@Armina Petrean, keep in mind that posting the picture of the code is not helpful. Even if we suggest a solution, it is not guar...

9 Tage vor | 0

Beantwortet
Is this the right way to use permute and bsxfun?
Yes, it is correct. You can verify it by comparing it to the result obtained via loops - %Random data A = rand(1000,200,500); ...

9 Tage vor | 1

| akzeptiert

Beantwortet
Unrecognized function or variable 'a'.
You get an error because you have undefined variables in your code, that are a, b and c. If they have any numeric value, then a...

9 Tage vor | 0

Beantwortet
How can I fix this "Error using / Matrix dimensions must agree."
I assume you want to do element-wise division, use "./" for that % Step 1: Define the parameters and initial conditions. B = ...

10 Tage vor | 1

| akzeptiert

Beantwortet
Symbolic rewriting of trigonometric functions with a exponential function.
rewrite() does not produce the following conversion. You can do the following - syms t %Define expressions separately y1 = (...

10 Tage vor | 0

| akzeptiert

Gelöst


Create an empty array
Suppose you need an empty array. e = [] will give you one, but it's a double array, which may not help if you need a differen...

10 Tage vor

Gelöst


Find the circle inscribed in a triangle
Write a function that takes the x- and y-coordinates of three points describing the vertices of a triangle and returns the cente...

11 Tage vor

Frage


Inconsisent(?) behaviour of str2num() with a particular usage
The task in hand for me was to generate an empty array corresponding to the class/datatype of the input. %Example 1 input = 's...

12 Tage vor | 2 Antworten | 0

2

Antworten

Beantwortet
recreating mesh grid plot of polar formula
"Also i get my radian axis till 2000 instead of 6.28." Because your data spans from 2*pi to 2*pi*360 (~2262) instead of 0 to 2*...

12 Tage vor | 0

| akzeptiert

Gelöst


Continuous NaNs - I
Remove any continuous NaNs that appear in the array - %Example 1 input = [1 NaN 2 NaN NaN 3 NaN NaN NaN] output = [1 NaN 2 ...

12 Tage vor

Beantwortet
I'm trying to write 5 for loop cycles with a step
Vectorization ftw! %Define variables b = [0:0.4:2]; errore = [0.4:0.3:1.5]; %To obtain the combination according to the co...

13 Tage vor | 0

Beantwortet
i have an error when i draw a polar The error is
Use readmatrix to directly load the data into a numeric array. importdata loads the data into a structure array for the given ...

13 Tage vor | 0

Beantwortet
Problem with variable 'nanmean'.
nanmean is a part of the "Statistics and Machine Learning Toolbox", which I believe you do not have and which is why you get the...

13 Tage vor | 0

Problem


Continuous NaNs - I
Remove any continuous NaNs that appear in the array - %Example 1 input = [1 NaN 2 NaN NaN 3 NaN NaN NaN] output = [1 NaN 2 ...

14 Tage vor | 0 | 5 Lösungsvorschläge

Beantwortet
I need to create a loop to evaluate a function at decreasing points.
You can use a for loop to do that, evaluate the function at each point and store the result. Another way is vectorize the opera...

14 Tage vor | 0

| akzeptiert

Beantwortet
Deleting elements of an array with consecutively occurring NaN values
Note that this removes any NaN groups occuring at the start or at the end of the data. %Modified data A = [43 NaN NaN NaN 45 N...

15 Tage vor | 0

| akzeptiert

Beantwortet
Solving equation using 'vpa' function
The equation you have has multiple solutions, see plot below for reference. If you want to return a particular solution, use vp...

16 Tage vor | 0

Beantwortet
solve the equation for one variable and find the value of variable
"out come is shows only a constant valu s=1 for all value of p kindly check this error" That's not an error. a==1 is a solut...

17 Tage vor | 0

| akzeptiert

Beantwortet
How to repeat a vector number of times with a certain value added to each row
vec = 1:5; rep = 3; val = 4; out = vec + val*(0:rep-1)'

17 Tage vor | 0

Beantwortet
Creating vectors from columns of a matrix
You can not obtain the output you want in terms of numeric data type due to size mismatch for vertical concatenation. You can ob...

20 Tage vor | 0

| akzeptiert

Beantwortet
How to randomly extract 10 elements from that matrix
A = rand(1000,1); %10 random indices less than or equal to the number of elements in A idx = randperm(numel(A),10) out = A(id...

20 Tage vor | 0

Beantwortet
how to calculate mean of interrupted data
A=1:20; A([2 4 8 16]) = NaN; disp(A) idx = [0 find(isnan(A)) numel(A)+1] for k = 1:numel(idx)-1 %Range of indices betwe...

20 Tage vor | 0

| akzeptiert

Mehr laden