Community Profile

photo

Dyuman Joshi


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

Statistics

All
  • MATLAB Mini Hack Participant
  • Treasure Hunt Participant
  • 12 Month Streak
  • Knowledgeable Level 5
  • Curator
  • Number Manipulation I Master
  • 5-Star Galaxy Level 1
  • Personal Best Downloads Level 1
  • Sequences And Series I Master
  • Strings I Master
  • Cody Challenge Master
  • Cody 10th Anniversary 10-Day Streak

バッジを表示

Content Feed

表示方法

回答済み
Find minimum among matrices with different sizes
Your statements contradict each other, but I guess this is what you want to obtain A=[2 8 4; 7 3 9]; B=[1 3 5]; C=min(A,B)

約14時間 前 | 0

| 採用済み

回答済み
i want to solve a set of homogeneous linear equation
Note - Symbolic Toolbox required Note that you might not get a solution for x depending upon the values of A. One such exampl...

約16時間 前 | 0

回答済み
i don't know code
Define f and g as function handles, and use x and the output of g(x) as inputs respectively - %Using different variable name to...

2日 前 | 1

回答済み
How to build a function fun that takes as input the matrix A and as output provides the matrix B which is produced out of A in the following ways.
A much simpler way - a=[1 2 3 4;5 6 7 8;9 10 11 12; 13 14 15 16] s=size(a)/2; b=circshift(a,s)

2日 前 | 3

回答済み
Add data class as additional information on 2D plot
text might be helpful

3日 前 | 1

| 採用済み

回答済み
The numbers do not appear in standard format despite the writing (format shortG)
Using format is only applicable to numeric outputs. Change the formatting operator in fprintf to obtain the proper value - for...

3日 前 | 0

解決済み


Zero finder
Write a function named 'zero_finder' that takes a matrix as input and returns the row index of the last zero for each for each c...

5日 前

回答済み
How to save index of Values of an item in a matrix?
x=[0,0,0,1,0,0,0,0,1,0,1]; y=find(x>0)

5日 前 | 0

回答済み
symbolic trigonometrical function tan instead of log and imaginary equation
syms a b x real sol1=solve(a*sin(x) == b*cos(x),x,'Real',true) The solution obtained above can be derived by changing sin and ...

6日 前 | 1

回答済み
How to obtain vector of specific values in MATLAB
It's not a good idea to dynamically define variables. Read - Why Variables Should Not Be Named Dynamically You can make a 96x16...

6日 前 | 0

回答済み
How to take an average from range of values?
It seems you have copied the data from Excel and there is a loss of data in doing that. A= [0.0000 0.4341 -0.0000 -0.5910 -0.03...

6日 前 | 0

| 採用済み

回答済み
How to prepare normalized feature matrix in MATLAB ?
%Random data D = rand(500,4); %minimum of each row minval=min(D,[],2); %maximum of each row maxval=max(D,[],2); %Vecto...

6日 前 | 0

| 採用済み

回答済み
How to create multiple structure variables and assign values to them at one line.
%Assign any type of data to a field [AC.a, AC.b, AC.c, AC.d] = deal(5, 15, {'cell'}, '0'); AC

6日 前 | 0

回答済み
Grouping values in a matrix according to a value in a row & its index position
Vectorized approach mat=[51 71 0 48.87 63.38 -2.30769230769231 42.15 55.97 -2.30769230769231 40.22...

6日 前 | 1

回答済み
Find min value of each column of 2D lattice and plot
It is better to define variables not varying with the loop index, out of the loop. Moreso, as you are using figure(). It's not ...

7日 前 | 0

| 採用済み

回答済み
How to get the rows and columns from a matrix which do not fall into particular criteria?
Use negation on the logical indexing - x = 0:0.01:10; y = [sin(x); cos(x)]; %Get columns of y in which %first row is less th...

7日 前 | 0

| 採用済み

回答済み
Need help with matlab code for below mentioned integrals
Note that you need symbolic toolbox to run this code - syms a b x y tau %Defining functions r(a,b) = exp(-a-b); f(a,x) = exp...

7日 前 | 1

| 採用済み

回答済み
Can't run my 'if, elseif, else' code
if-else is not a loop, they are conditional statements. If you want to print/display something, use sprintf or fprintf or disp....

8日 前 | 1

回答済み
How to change diagonal, subdiagonal and superdiagonal values with respect time while using loop and conditional statement?
xmax=1; ymax=7; m=20; n=29; tmax=100; nt=500; dx=xmax/m; dy=ymax/n; dt=tmax/nt; UOLD=zeros(m,n);VOLD=zeros(m,n); A=zeros(m,...

8日 前 | 0

| 採用済み

回答済み
Why do I receive "Not enough input arguments"? or How can I better code this ODE?
I'm not sure why you receive that error, but your code works properly with some tweaks. There is no need to use global here. I...

8日 前 | 1

回答済み
Error using cross and not calculating correctly
You are using character scalars instead of using variables. The result you get are corresponding to the ascii values of the char...

8日 前 | 0

回答済み
How do I plot separate graphs in a for loop?
To iterate over the values of a column vector, you need to transpose it to create a row vector and then proceed. Otherwise, the...

8日 前 | 1

回答済み
how can i return l21 value
As you can see above, l21 is stored as a field in the struct x. You need to use dot indexing to get its value - syms l21 l31 l3...

9日 前 | 0

回答済み
How to convert double value to int value?
If you want to round the number - d=5.2; %smallest integer less or equal to input floor(d) %nearest integer to the input ro...

9日 前 | 2

回答済み
Taking the integral of a piecewise function
You need to specify that K is a positive number, otherwise conditions might overlap syms Co K Ko T assume(K, 'positive') % De...

9日 前 | 1

回答済み
For loops step through time and update variable
The problem is in your loop indexing. size returns a row vector, and when you use a row vector as a loop index, it considers the...

10日 前 | 0

回答済み
what is wrong in this code?
@Muhammad Tarique, as Jan and Star Strider asked for - the full error message, which means all of the red text. Please keep that...

10日 前 | 0

| 採用済み

回答済み
plotting a function with values from a table
The question asks to overlay the discrete data on the graph, so you need to define markers on the plot of the discrete data (ins...

11日 前 | 0

| 採用済み

回答済み
How to sum up every other column of a matrix?
%Data with more columns than example mentioned A=randi(10,3,16) %Pairing odd columns - (1,3) (5,7) (9,11) ... B=A(:,1:4:end)+...

12日 前 | 1

| 採用済み

回答済み
How to change the imagesc axis?
You can specify the x and y ranges and then add ticks for all values of t t= 0:0.1:1; N = length(t); M = randn(N,N); figure(...

13日 前 | 0

| 採用済み

さらに読み込む