Community Profile

photo

Dyuman Joshi


Last seen: Today Con actividad desde 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)

Estadísticas

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

Ver insignias

Content Feed

Respondida
Plot a region based on inequalities
That happens because the markers of the scatter plot are circle in shape with a finite/comparable size. You can see that by plot...

alrededor de 12 horas hace | 0

| aceptada

Respondida
Partition line in a subplot
You can do this by turning clipping off and manually drawing lines - clc;close all; clear all; x=[1 2 5 4 6 7]; y=[5 6 2 5 8...

3 días hace | 0

| aceptada

Resuelto


Minimum number of crossings in a complete bipartite graph
This problem is related to problem 58389. A complete bipartite graph may be drawn in different ways, such that the number of li...

3 días hace

Respondida
Constants that cannot be delete with CLEAR
You can use this command clearvars -except VariblesNotToBeDeleted

3 días hace | 1

Respondida
gridmesh does not work for my case, why?
You need to use element-wise division as well in defining F u = rand(54,1); v = rand(61,1); [U,V]=meshgrid(u,v); % v F=...

4 días hace | 0

Respondida
Different results from directly using fsolve function and using the code within program in fsolve setting
Using global is generally not recommended, specially when it is not required. There are many errors in your code, I have edited...

5 días hace | 0

| aceptada

Respondida
How to surf plot and line plot together for the code?
Any particular reason why you are using subs() for Gamma_star instead of defining manually it and vpa() for defining I? The cod...

6 días hace | 0

| aceptada

Respondida
How to extract month-wise data from a single column?
Read the excel file via readmatrix and use indexing to get the data for February. Make sure that the excel is present in the cu...

6 días hace | 0

| aceptada

Respondida
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...

6 días hace | 1

| aceptada

Resuelto


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...

7 días hace

Respondida
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...

7 días hace | 1

Respondida
Create a plot of points on a circumference separated by radii
You can use a set of points and polarscatter to achieve this. What have you attempted yet?

8 días hace | 1

Respondida
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...

13 días hace | 1

Respondida
Summation of a Gamma series
This requires Symbolic toolbox - %Defining symbolic variables syms x n %summation using symsum() out = symsum(ExpressionToBe...

13 días hace | 0

Respondida
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...

13 días hace | 0

| aceptada

Resuelto


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...

14 días hace

Respondida
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...

14 días hace | 1

| aceptada

Respondida
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...

15 días hace | 0

Respondida
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); ...

15 días hace | 1

| aceptada

Respondida
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...

15 días hace | 0

Respondida
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 = ...

16 días hace | 1

| aceptada

Respondida
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 = (...

16 días hace | 0

| aceptada

Resuelto


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...

16 días hace

Resuelto


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...

17 días hace

Pregunta


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...

18 días hace | 2 respuestas | 0

2

respuestas

Respondida
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*...

18 días hace | 0

| aceptada

Resuelto


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 ...

18 días hace

Respondida
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...

19 días hace | 0

Respondida
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 ...

19 días hace | 0

Respondida
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...

19 días hace | 0

Cargar más