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)

#### Statistics

All
• • • • • • • • • • • • バッジを表示

#### Content Feed

How close to a hole
Suppose you have a description of good places (ones) and bad places (zeros). You want to know your distance from a bad place (in...

1日 前

Award medals to winners

1日 前

Computing Equation values for its unknown variables
It seems like you have copy-pasted the expression from somewhere, and the text is not compatible. Manually write the expression...

3日 前 | 0

| 採用済み

Why won't Matlab plot anything?
Use break instead of return. As when you use return, any code after it won't be executed From the documentation - "Be careful...

4日 前 | 0

| 採用済み

Sn*= sum of integers dividable by 11, write a script program that inputs a large positive integer M, computes the smallest integer n∗such that Sn∗> M, then displays n∗and Sn∗.
You have done quite well despite your limited understanding of the question. Your code requires only a few modifications - %M=...

6日 前 | 1

choosing function in array problem
Table = [ 1 2 3 4 5; 7 8 9 11 15; 0.8 1.5 3 -3.4 2; ...

6日 前 | 0

| 採用済み

How to avoid adding same elements
You can use unique to get the elements without repetition (subject to sum being less than 9007199254740992, as mentioned below) ...

7日 前 | 0

| 採用済み

How to Graph with the endpoints excluded from values
d=0.01; r=(2+d:d:10-d); %not including 2 and 10 vtop = (2*pi*r.^3)/3; Cost_Top = 400*(2*pi*r.^2); Cost_total = 600*pi*r*((50...

8日 前 | 0

How to draw with semiology in MATLAB?
The graph is correct. The y axis values are shown in log values as you wanted them to be. And, for the last two values of Q, th...

8日 前 | 2

How to use the sum of all the iterations of a value calculated in a for-loop to calculate another value within the same loop?
Is using a loop necessary? If yes, then my comment above should work - M = [2 3]; n = [8 9]; for i = 1:2 mi(i) = M(i)*...

8日 前 | 1

Get column E based on transition in Column I
y=[1 1 1 1 1 0 0 0 0 1 1 0 1 0 1 1 0 0 0 0 0 0 0]; i=find(diff(y)==-1)+1

8日 前 | 1

Derivatives using second diff
syms x y f(x) x0 y0 m %IDENTIFY the function f(x) f(x) = (4*x^2)-(2*x) + 1; %DETERMINE the point of tangency (This will be a ...

8日 前 | 0

Cost of Mathworks MATLAB Professional certification exam?
https://mathworks.com/training-schedule/certifications You might be eligible for the Academic discount. Check the "Academic dis...

8日 前 | 0

| 採用済み

Change exp from number to e
That is most likely because syms turns the expression with exp() (irrational number) into a terminating fraction. You can try t...

10日 前 | 0

Convert matrix into CSV, with each matrix element as a separate line including indices of matrix element
You can try this - y=[0.5 0.1 0.6;0.9 0.8 0.3]; z=y'; mat=[repmat(1:size(y,2),1,size(y,1))' repelem(1:size(y,1),1,size(y,2))'...

11日 前 | 1

How to extract elements of each column 1 by 1 in matrix and transform it to a column vector ?
Apologies, it took quite some time and questions to understand. Code for the 1st non-zero element in a row - M=[1 0 0...

12日 前 | 0

| 採用済み

Check if it is a square or cube of consecutive numbers
Check whether the element of given row vector is a square or cube of consecutive numbers. For example Input x=[4 27 16 25 36 3...

13日 前

Graph Algorithms - 1 : Length of the largest closed path
An undirected simple graph is given as the form of an adjacency matrix. Find the length of the largest closed path (one that sta...

13日 前

Homogeneous lines and points in 2D: problem 1
In high school we learn the line equation y = mx + c where m is the gradient and c is the intercept. However this form is proble...

13日 前

Conjunctive Normal Form
In Boolean logic, a formula is in conjunctive normal form (CNF) or clausal normal form if it is a conjunction of clauses, where ...

14日 前

Disjunctive Normal Form
This problem is the companion to Problem <http://www.mathworks.com/matlabcentral/cody/problems/1484 1484>. In Boolean logic, a f...

14日 前

Travelling Salesman Problem (TSP)
Find a short way through given points. This is the travelling salesman problem. But the solution should be a fast and small func...

14日 前

Avoiding (X,Y)=(0,0) from loop
The common zeros occur in the 1st column only, so you can operate on the rest of the matrix M = 64; r = linspace(0,1,M); thet...

14日 前 | 0

How to find the projection of vectors from corrdinates?
Proceed the same way as you would on pen and paper. You can use points to define the vector - %[x-coordinate y-coordinate] p1=...

14日 前 | 0

| 採用済み

FIFA World Cup 2014 : Offside
This problem is about offside rule in football (soccer). Input is a matrix with mostly zeros and a few 1, 2, 3 and 4s. A zer...

14日 前

Magnet and Iron
(Inspired from <http://www.mathworks.com/matlabcentral/cody/problems/112 Problem 112: Remove the air bubbles>) Iron (atomic n...

15日 前

Reverse Boggle
*Description* In the classic Parker Brothers game <http://en.wikipedia.org/wiki/Boggle Boggle>, players find words from a 4x4...

15日 前

Ambiguous concatenation
Give two expressions that can have different meaning inside/outside a concatenation expression.

15日 前

In given example, how can I find multiplication of all c matrices (c1, c2, c3, c4, c5) in a 'for' loop?
Finding c1*c2*c3*c4*c5 a=[1 2 3 4 5];c=1; for i=1:5 b=[1 2; 6 5]*a(i); c=c*b; end c

16日 前 | 0

| 採用済み

Scrabble Scores - 11
This problem builds on the previous problem, wherein you were provided a letter of an existing word on the board and from which ...

16日 前