Community Profile # 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)

#### 통계

All
• • • • • • • • • • • • 배지 보기

#### Content Feed

보기 기준

답변 있음
How to use array as input for a function and store outputs and then graph the function?
%No need of using these commands %clear all; close all; fs = 500; T = 1/fs; k = 7; m = 2^k; t = 0:1/fs:((10000-1).*1/fs); ...

대략 4시간 전 | 0

| 수락됨

답변 있음
Change axes position in tiled layout
The position property for a tiledlayout refers to the position of the whole layout not each tile, see here - https://in.mathwork...

대략 7시간 전 | 2

답변 있음
create a string like "AA";"BB";"CC";"DD", and so on
str = string(char('AA' + repmat((0:25)',1,2)))

대략 8시간 전 | 1

| 수락됨

답변 있음
Similar to my answer in a previous question of yours, use ndgrid %Random value for N for example N = 10; kvec = 0:1:N; %1 a...

대략 13시간 전 | 0

답변 있음
How to plot 2 geo plots together
The data you have generates the following map plot - maint = readtable('main towers.csv'); subt = readtable('subtower.csv')...

대략 13시간 전 | 0

답변 있음
I want to plot a transparent triangle
Use the color 'white' W = 0.5; L = 0.3; Patch = [-0.3, -W/2; -0.3, W/2; L, 0]; triangle_local = Patch; triangle_handle = f...

1일 전 | 0

| 수락됨

답변 있음
How I can run following code for different p and t values?
You can run a for loop through the elements of t and p and get the output. Another option is to use arrayfun, which I have done ...

1일 전 | 0

답변 있음
How do I create an array for the square of numbers from 1 to 100?
a1 = ones(100,1); %Avoid using the superfluous [], as they are used for concatenation a2 = (1:100)'; A = [a2.^2 a2 a1]

2일 전 | 0

답변 있음
Bisection Method Table Generation Error - Array Indices Issue
You have > not passed the variable velocity_target to the function > not defined the output root in the function Make the ap...

2일 전 | 0

답변 있음
plot surface 3d from table
Import the data, assign the first column as x data, top row as y data (or vice-versa, depending upon how you define the axis) an...

2일 전 | 1

| 수락됨

답변 있음
how to make upper triangular matrix easlily by pivoting(Gauss elimination)
"so i want to make the code like this "if the abs(a(1,1))is smaller than other elments of 1st column(absolute value), the row t...

2일 전 | 0

| 수락됨

답변 있음
Adding a new variable to a table and assigning a value
"How can I define Station ID's dimensions and fill all 1349 rows with the same value? " There are many ways of doing that - %...

2일 전 | 0

답변 있음
How to do a summation with a for loop
You are over-writing the variable a - a = 1:5; %Initiate a variable as 0 to store the sum s = 0; %loop over a, using ano...

2일 전 | 0

답변 있음
extract a number N of equally spaced rows within a matrix
You are on the right course - a=(1:1:100)'; b=(0.1:0.1:10)'; M=[a,b]; % example matrix N=7; % number of rows step = he...

2일 전 | 0

답변 있음
Find X for a given Y using interpolation
x and y are not mapped one-to-one for interpolation, there is an element missing in y. interp1 is what you are looking for.

3일 전 | 0

| 수락됨

답변 있음
split cell (containing strings) into cell according to the value of C (column)
load a4 %in load a4_new %out %Checking the values of the variables a4 a4_new Col = 6; %Split according to the multip...

4일 전 | 0

| 수락됨

답변 있음
Not enough input arguments when using bar()
It works fine here - R2023b but does not on my MATLAB app - R2021a. Since you have R2023a, it means that the support for string...

4일 전 | 1

답변 있음
divide the matrix (Rx2) into submatrices based on the values ​​of the second column
discretize and splitapply for the win! load matrix_out %Mention the bins to group data in j = [0 0.1:0.1:1.2 Inf]; %Discre...

4일 전 | 0

| 수락됨

답변 있음
Can not use gamma function in an external function
Using function names as variable names is not a good idea - in your case gamma. I have changed the names to gamma0 and added a ...

5일 전 | 0

| 수락됨

답변 있음
MATLAB Function에서 struct의 배열 별 요소 개수 구하기
%Defining structure cell_num = struct(); arr = struct("sig1",{{1,2,3,4}},"sig2",{{4,5,6}},"sig3",{{7,8}}) %Field names of the...

5일 전 | 1

답변 있음
How do I change font size on YTickLabel in tiledlayout in Live Script? [Bug]
tl1.YLabel.FontSize = 12; What are you trying to change is the font size of the ylabel not the font size of the yticklabel. An...

5일 전 | 0

답변 있음

You will have to draw the 3 implicit curves separetly - Ia_start = 1; Ia_end = 5; Ia_count = 2; figure hold on for Ia =...

5일 전 | 1

답변 있음
Error using sin in my code
sin is not a variable that you are multiplying with s*r0*t, it is a function which needs input arguements to provide an output. ...

5일 전 | 0

| 수락됨

답변 있음
xtick label font change affect ytick label font
"How do I control them independently?" There is no particular quantity 'Tick Label Font size' you can change, however you can c...

5일 전 | 0

답변 있음
How to plot a random line in between 0 and a random variable?
I assume you want to you don't just want integers, otherwise you would have used randi for that. V = randi([1 12]) t = linspac...

5일 전 | 0

| 수락됨

답변 있음
Increase size of array within cellfun
"I'd rather avoid looping over each cell, can this be done with cellfun?" That's the thing - Cellfun is just a loop in disguise...

5일 전 | 0

답변 있음
How do I convert UTC time to Unix time?
%Example y = datetime('now','TimeZone','UTC') %Get time in UNIX format z=posixtime(y) %Change the display format format lon...

5일 전 | 1

| 수락됨

답변 있음
Create multiple copies of a .txt file according to N x 1 array
The data in the text file is heterogeneous and stored non-uniformly. This approach should work for that - y = readlines('MyFil...

5일 전 | 0

| 수락됨

답변 있음
seach string in arraycell and find idx
When using ismember, if any of the input is a Cell array, it is expected that it will be a cell array of character vectors. > w...

6일 전 | 1

답변 있음
Frequency response from a transfer function?
Use freqs. Note - Requires the Signal Processing Toolbox. Refer to the documentation page linked above for more info. help fre...

6일 전 | 1