Dyuman Joshi
Mechanical Engineer (IITG '20) | Moderator - MATLAB Cody since Jan 2021 | Time zone - IST (GMT +5.30) For any queries related to MATLAB Cody/Answers, contact me through my profile.
Python, MATLAB
Spoken Languages:
English, Hindi
Pronouns:
He/him
Professional Interests:
Fluid Dynamics, Aerospace Engineering, Computational Fluid Dynamics (CFD), Hydraulics and Pneumatics
Statistica
1 File
Cody DiscussionsRANK
45
of 301.537
REPUTAZIONE
4.358
CONTRIBUTI
10 Domande
1.245 Risposte
ACCETTAZIONE DELLE RISPOSTE
70.0%
VOTI RICEVUTI
655
RANK
8.127 of 21.318
REPUTAZIONE
111
VALUTAZIONE MEDIA
5.00
CONTRIBUTI
1 File
DOWNLOAD
16
ALL TIME DOWNLOAD
982
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
1 Punto principale
NUMERO MEDIO DI LIKE
0
Feeds
Comment activer la toolbox : statistics and Macgine Laerning Toolbox
"On the Home tab, in the Resources section, click Help > Licensing > Activate. MATLAB starts the activation application, which ...
4 mesi fa | 0
2025b版本的simulink为什么之后不支持Simscape Electrical Specialized Power Systems blocks。
Another company (OPAL-RT) has acquired the rights for SPS, see - https://in.mathworks.com/matlabcentral/answers/2180147-unable-t...
4 mesi fa | 0
How to format both left and right of the decimal place with sprintf?
Here's an approach - y = [964.155 9590.43 350.76 0.00]; You'll have to manually round up, as sprintf() doesn't...
5 mesi fa | 0
Reference Solution in 'Create Problem'
"Is it visible somewhere for everyone?" No, the reference solution is hidden for everyone who is trying/attempting to solve the...
5 mesi fa | 1
| accettato
I'd like to ask about the colon operator (:) in MATLAB.
"Both ChatGPT and Gemini claim that A(1:6) uses linear indexing and the result should always be a column vector." That is incor...
5 mesi fa | 2
How to add a number to all elements in a column in a cell.
I wonder why you are using a data set with two different datatypes. Anyway, you can do try these methods - %Method 1 b = {'...
5 mesi fa | 0
| accettato
古いPCを売却済の為、アクティベーション停止ができず、新しいPCのアクティベーションができません
Follows the steps mentioned in this TMW Support Team Answer - https://in.mathworks.com/matlabcentral/answers/99859-how-can-i-dea...
5 mesi fa | 0
| accettato
matlab last 32 bit latest version window
The last version that was available for 32-bit Windows OS was R2015b. You'll need to download R2015b or an older version.
5 mesi fa | 2
Permanently Unodock Command Window Matlab 2025b
This should work (though I haven't tried this on R2025b, since I don't have it) :- 1) Undock command window (Ctrl+Shift+U has w...
5 mesi fa | 0
Je ne trouve pas la bibliothèque "Specialized Power Systems Library" dans la version Matlab 2025b
See this thread - https://in.mathworks.com/matlabcentral/answers/2180147-unable-to-find-the-specialized-power-systems-group-in-s...
6 mesi fa | 0
MATLAB이 실행 명령을 내린 지 얼마 지나지 않아 스스로 종료됩니다.
Contact The MathWorks Support - Contact Support. Also, take a look at this thread and try the steps mentioned - https://in.math...
6 mesi fa | 1
Changing my current Matlab location to a new computer.
The general procedure is to - Deactivate MATLAB on your old machine (see here : https://in.mathworks.com/matlabcentral/answers/...
6 mesi fa | 0
Values not populating in table for variable
%clc %clear all %close all %define some initial variables theta = pi/4; R = 0.0006; w = 1.318*R; format longg %calculate...
6 mesi fa | 0
Is student license forever?
"After I bought it can I continue to use the version I bought for lifetime without paying?" Yes, MATLAB Student License is perp...
6 mesi fa | 1
How to solve the inertia error in Simscape Onramp Project ?
The error stems from the fact that there is an Electrical Reference which is connected to the Solver configuration. Delete it a...
6 mesi fa | 0
Counting the number 6s rolled from a dice
You can also use randi to generate the data as well - X = randi([1 6], 1, 1000); The "if" statement is only executed when al...
6 mesi fa | 0
| accettato
Live Script: Multiple Figures Merge into a Single Animation
Here's an approach with animatedline and subplot - %Data N = 500; x = linspace(0, pi, N); y1 = sin(x); y2 = cos(x); %Gen...
6 mesi fa | 0
How to rotate domain, but the lon and lat are on the contour (not on the axis)
You can try something like this as showed in this thread. Note that the aspect ratio of axes will get distorted as per the angl...
10 mesi fa | 0
Readtable and Readmatrix Ignore Specified Range and Produce Extra Variables
From what I have understood of your query, you need to specify that you don't require Extra columns - readtable adds variable ...
10 mesi fa | 0
| accettato
How plot 2D with inset zoom region?
Two things - There is no data in the zoom region, as you can see > Select the zoom region as per the values. The zoom region ...
10 mesi fa | 0
| accettato
Is it possible to get the Reinforcement Learning Onramp course in pdf format?
Downloading course files as a PDF is not available (yet; I do not know if TMW are planning on introducing that feature or not). ...
10 mesi fa | 0
| accettato
Why I am not getting the same result for an integral of a piecewise function?
1 - It should be aux1 - (aux2 + aux3) 2 - The function is not vectorized properly, which provides incorrect results. I have mod...
quasi 2 anni fa | 0
| accettato
array generation using logics.
x = [0 10 20 30 0 10 20 30 40 0 10 20 30 40 50 0 10] y = x; idx = [1 find(diff(x)~=10)+1 numel(x)] for k=1:numel(idx)...
quasi 2 anni fa | 0
How programmatically create an array from variable-length vectors?
Here's a method to import data from a sequence of files - %Read all the mat files in the directory Files = dir('*.mat'); %...
quasi 2 anni fa | 0
How to substitute a variable into a syms function?
Define the variable as a symbolic variable and then substitute - syms Vpo Von Dp Dn ws Lp Cps Ll Lm Vsecm Isec_real Isec_imag ...
quasi 2 anni fa | 0
| accettato
How do I change the format of symbolic output
Change the symbolic preference of Type-setting as follows - syms x y sol = solve(y-x^2,x) %Preference changed (Default v...
quasi 2 anni fa | 0
| accettato
Turn sequence into a loop
A better approach would be to vectorize, see below. (I assume all the arrays to be used have compatible dimensions for operation...
quasi 2 anni fa | 0
如何得到361x91数组中重复最大值的位置
Use find - %Sample data mat = magic(4); mat = [mat; 1 4 9 16] %Get the maximum value val = max(mat, [], 'all') %% Find th...
quasi 2 anni fa | 1
| accettato
Read text file line by line to columns
Use readmatrix (available from R2019a onwards) to read the data and transform it as per need - in = readmatrix('RANCHOD - Copy...
quasi 2 anni fa | 2
行列の要素数を変更し、それぞれを違う行列として表示するにはどうすればよいですか
Preallocate a cell array, define each cell element accordingly and use indexing to access the data - %Number of arrays n = 10...
quasi 2 anni fa | 0











