Community Profile

photo

Dyuman Joshi


Last seen: Today Active since 2012

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

Programming Languages:
Python, MATLAB
Spoken Languages:
English, Hindi
Pronouns:
He/him
Professional Interests:
Fluid Dynamics, Aerospace Engineering, Aerodynamics, Computational Fluid Dynamics (CFD)

Statistics

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

View badges

Content Feed

Answered
how to convert pixel value to 0 and 1 only or (0 and 255) only?
Use the binary images obtained via imbinarize as the input to jaccard - im2 = imread('Label7027_157.png'); im_gray2 = rgb2gra...

9 hours ago | 0

Answered
I have error, its said the expression canno't assigned to multiple values.
I believe you have applied KCL at nodes v1 and v2. I have corrected your code - syms v1 v2 eqn1 = v1/10 + v1/5 + 6 + (v1-v...

20 hours ago | 1

| accepted

Answered
I WANT TO EXTEND MY X-AXIS
Provide the bit stream values individually i.e. digit-by-digit - %% example: 10111010 %Like this b = [1 0 1 1 1 0 1 0]; ...

1 day ago | 0

Answered
Can't write isosurface to stl file
I am not familiar with the extractIsosurface function or the Medical Imaging Toolbox the function is part of, so I can not provi...

1 day ago | 0

Answered
solve() "Unable to find explicit solution"
solve() expects the 2nd input to be an array of symbolic variable(s), where as you have defined Y as a symbolic function. If yo...

2 days ago | 0

| accepted

Answered
How can I delete Columns containing Zeros without deleting small decimals in a table?
Assuming, the task is to delete columns where all entries are 0. This might be one of rare cases where comparing floating point...

2 days ago | 1

| accepted

Answered
How to mark points at 1-5 on the x-axis in the plot
Okay, you want to create data-tips. Data-tips can be added using datatip - Ld=(0:0.00005:0.005); w=0.001; L=0.007; P=4*0.00...

3 days ago | 0

Answered
matlabでcategoricalを数値に変換したい
Presuming all the data you have is numerical, use double() to convert the categorical arrays to numeric arrays.

3 days ago | 1

Question


[META] Code doesn't run in MATLAB Answers Live Editor
The Live Editor in MATLAB Answers does not give output when I run any code, the prompt/message-box saying Executing in R2023b sh...

3 days ago | 0 answers | 0

0

answers

Answered
Solve in a loop - Unable to perform assignment because the indices on the left side are not compatible with the size of the right side
It is most likely that there are multiple solutions or no solutions for equations, which can't be stored in a single placeholder...

3 days ago | 0

Answered
Take each row in a matrix where the max number in that row is greater than 2, create new matrix. Average each column in the new matrix to result in one vector with average.
You can directly define a new matrix via logical indexing and perform calculations accordingly - %Get the maximum of each row ...

3 days ago | 0

Answered
2D plot for polynomial
Use fplot

3 days ago | 1

Answered
Plotting an increasing real sequence
"I think there is an issue when I call n(s)" You are right. When t == 1, s = t-1 == 0. And as you are using s as an index, it g...

4 days ago | 0

Answered
Why only scatter function is not working?
You have named your script after a built-in MATLAB function i.e. error. It's not a good idea to name variables or scripts or us...

4 days ago | 0

| accepted

Answered
f(x) = sin^2*(x) - cos^2(x)
That is not the correct syntax to use in MATLAB. For numeric vaules, the correct syntax is - x = [0 pi/4 pi/2 pi]; f = sin(x)...

4 days ago | 1

Answered
動画ファイルから画像ファイルに変換する方法
%% Create object to read video files %Replace the file-name accordingly v = VideoReader("filename.extension"); %% Read all ...

4 days ago | 1

Answered
How to get numerical equation for my code?
Convert the function to use numeric functions and operations - %Random input in=rand; %Output corresponding to the input Ou...

4 days ago | 1

| accepted

Answered
How to plot a "Bean-shaped" object in MatLab please? (preferably a parametric equation)
Change the equation as per requirement - a = 3.6; f = @(x,y) (a*x+x.^2+y.^2).^2 - a^2*y; fimplicit3(f) Experiment with view...

4 days ago | 0

Answered
Overwriteing select values in multidimensional array
tmp1 = (rand(5,5,5)-.5)*10; tmp2 = (rand(5,5,5)-.5)*10; loc1 = tmp1 > 0; %This is a shortcut way of logical indexing val =...

4 days ago | 0

| accepted

Answered
[ABSOLUTE BEGINENR] char(inputdlg) or just inputdlg same result? why?
"I still get the same outcome." They might look same but the outputs are different. "is it required?" That depends on what is...

5 days ago | 0

Answered
Write filename as the name of input file with append
I assume you have to do this for multiple excel files, and all the files are stored in the same folder (and the folder only cont...

5 days ago | 0

| accepted

Answered
error using + matrix dimension must agree
Without the data, we can only guess. And the most probable guess is that y1 is a 2D array and using length() with non-vector arr...

5 days ago | 1

Answered
Set default font settings for Simulink annotation (comments)
Changing the Font properties of the axes works for objects related to the axes (title, labels, etc). However, for text objects ...

6 days ago | 0

Answered
prime or not prime
Not all numbers can be exactly represented in double precision (which is the default numeric data type in MATLAB). The largest c...

6 days ago | 1

| accepted

Answered
How to insert a break in my y axis?
For this particular task, FEX submissions are very handful - Breakaxis - http://www.mathworks.com/matlabcentral/fileexchange/36...

6 days ago | 0

Answered
hash function giving error
The function keyHash was introduced in R2022b. And since you are working with R2020b, the function does not exist in your MATLAB...

6 days ago | 0

Answered
Find existence of values in the certain range
If you want to find some particular values, use ismembertol. If you want to find numbers which appear in the whole range, use l...

6 days ago | 1

| accepted

Answered
Need data points in 'plot' filled with the same color as the line.
From the documentation of plot, sub-section MarkerFaceColor - "The "auto" option uses the same color as the Color property of t...

6 days ago | 0

| accepted

Answered
Why colororder function does not work with ylim?
Note that in using ylim([0 25]) for the left yaxis, the upper cap of an errorbar data point is not visible. Adjust according to ...

7 days ago | 0

| accepted

Answered
iam trying to solve a system of differential equations of car model using ode45 but I am always get an error
You are using multiple variables inside (almost all of the) local functions but you have not defined them nor have you passed th...

7 days ago | 1

Load more