photo

Dyuman Joshi


Last seen: Today Con actividad desde 2012

Followers: 4   Following: 4

Mensaje

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.

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

Estadística

All
MATLAB Answers

10 Preguntas
1.235 Respuestas

File Exchange

1 Archivo

Cody

46 Problemas
4133 Soluciones

CLASIFICACIÓN
45
of 300.365

REPUTACIÓN
4.326

CONTRIBUCIONES
10 Preguntas
1.235 Respuestas

ACEPTACIÓN DE RESPUESTAS
70.0%

VOTOS RECIBIDOS
645

CLASIFICACIÓN
8.269 of 20.933

REPUTACIÓN
105

EVALUACIÓN MEDIA
5.00

CONTRIBUCIONES
1 Archivo

DESCARGAS
19

ALL TIME DESCARGAS
922

CLASIFICACIÓN
9
of 168.262

CONTRIBUCIONES
46 Problemas
4133 Soluciones

PUNTUACIÓN
47.369

NÚMERO DE INSIGNIAS
73

CONTRIBUCIONES
0 Publicaciones

CONTRIBUCIONES
0 Público Canales

EVALUACIÓN MEDIA

CONTRIBUCIONES
0 Temas destacados

MEDIA DE ME GUSTA

  • MATLAB Mini Hack Participant
  • Treasure Hunt Participant
  • Thankful Level 4
  • 24 Month Streak
  • Magic Numbers II Master
  • Indexing I Master
  • Personal Best Downloads Level 2
  • 5-Star Galaxy Level 1
  • Most Accepted 2023
  • Cody Challenge Master
  • Guiding Light
  • Matrix Manipulation II Master

Ver insignias

Feeds

Respondida
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...

2 días hace | 0

Respondida
MATLAB이 실행 명령을 내린 지 얼마 지나지 않아 스스로 종료됩니다.
Contact The MathWorks Support - Contact Support. Also, take a look at this thread and try the steps mentioned - https://in.math...

5 días hace | 1

Respondida
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 días hace | 0

Respondida
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...

13 días hace | 0

Respondida
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...

13 días hace | 1

Respondida
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...

13 días hace | 0

Respondida
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...

13 días hace | 0

| aceptada

Respondida
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...

15 días hace | 0

Respondida
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...

4 meses hace | 0

Respondida
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 ...

4 meses hace | 0

| aceptada

Respondida
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 ...

4 meses hace | 0

| aceptada

Respondida
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). ...

4 meses hace | 0

| aceptada

Respondida
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...

más de 1 año hace | 0

| aceptada

Respondida
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)...

más de 1 año hace | 0

Respondida
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'); %...

más de 1 año hace | 0

Respondida
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 ...

más de 1 año hace | 0

| aceptada

Respondida
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...

más de 1 año hace | 0

| aceptada

Respondida
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...

más de 1 año hace | 0

Respondida
如何得到361x91数组中重复最大值的位置
Use find - %Sample data mat = magic(4); mat = [mat; 1 4 9 16] %Get the maximum value val = max(mat, [], 'all') %% Find th...

más de 1 año hace | 1

| aceptada

Respondida
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...

más de 1 año hace | 2

Respondida
行列の要素数を変更し、それぞれを違う行列として表示するにはどうすればよいですか
Preallocate a cell array, define each cell element accordingly and use indexing to access the data - %Number of arrays n = 10...

más de 1 año hace | 0

Respondida
Where can I find the documentation for polling methods applicable to paretosearch?
From the User's Guide of Global Optimization Toolbox, available here - https://in.mathworks.com/help/pdf_doc/gads/index.html (Pa...

más de 1 año hace | 0

| aceptada

Respondida
Subs does not work in my code.
You can vectorize operations in the code - function [sMnew] = Cubic(k,M) n = 3*k+1; x = sym('x'); c = sym( 'c', [1 M+3]); ...

más de 1 año hace | 0

Respondida
Randomly giving "ans" value but i dont want that
"How can i prevent the creation of the "ans" ?" When calling a function with multiple outputs without specifying the outputs, o...

más de 1 año hace | 1

Respondida
How to plot points with corresponding colour
(Assuming there are only red and blue colors for the plot) Use logical indexing - %Check which elements of B are red idx = str...

más de 1 año hace | 1

| aceptada

Respondida
使用limit函数求极限提示不允许不同类型之间赋值,怎么解决?
I scrolled across the image - jie is already defined as a struct (possibly in the code before this particular lines), thus you c...

más de 1 año hace | 0

| aceptada

Respondida
How can I plot graph with lines of different color each using for loop?
You are over-writing the figure in each iteration, thus you only get the plot for a single iteration (i.e. the last one). Call ...

más de 1 año hace | 0

Respondida
How to create random sequence?
Use randn to generate the sequences and modify it accordingly - avg = 817e-9; sd = 10e-9; N = 50; seq = avg + sd*randn(1,...

más de 1 año hace | 0

| aceptada

Respondida
I need to make a function for compound interest using for
In case you want the final output - format shortg money=1000; for k=1:10 money=money*1.08; end money In case you w...

más de 1 año hace | 0

| aceptada

Respondida
How to extract data from a 3D Array?
Use logical indexing - %Sample data p = 5; q = 6; r = 4; y = rand(p,q,r)-1; y(:, :, [2 r+1]) = zeros(p,q,2) %Check i...

más de 1 año hace | 1

Cargar más