photo

Dhritishman


Actif depuis 2022

Followers: 0   Following: 0

Hi, I am Dhritishman, an EDG intern('22) at MathWorks, Hyderabad.

Programming Languages:
C++, C, MATLAB, HTML, CSS
Spoken Languages:
English, Hindi

Statistiques

  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
How to create a simple matrix from two different kind of matrix size ?
You can use the reshape(used in reshaping arrays) and cat(used to concatenate arrays) functions in this case: mat1 = rand(2, 5,...

environ 2 ans il y a | 0

Réponse apportée
Print a statement to the Command Window
Use the disp function to print to the command window: disp('job done')

environ 2 ans il y a | 0

Réponse apportée
Operator '>' is not supported for operands of type 'struct'
a1= xin_s > lonsorgente-0.5 & xin_s < lonsorgente+0.5; In the above code, xins_s is a structure. A structure has fields and th...

environ 2 ans il y a | 0

Réponse apportée
Array indices must be positive integers or logical values.
z1=z1+t(i-1); In your code, the value of i starts at 1, so t(i-1) will be trying to access t(0) which MATLAB doesn't allow as i...

environ 2 ans il y a | 0

Réponse apportée
How to get the value of interpolated data for 2D table in matlab
Firstly, you need to import the file in MATLAB as a table. You can use Readtable to do that. T = readtable(filename); To inter...

environ 2 ans il y a | 0

Réponse apportée
how to combine sections in live script
Two sections can be combined by deleting the second section break. The section break can be deleted by directly pressing the Bac...

environ 2 ans il y a | 1

Réponse apportée
Index Matrix A and Matrix B Problems
MATLAB provides logical indexing which can be used to select or modify elements of a matrix. A = [0, 1, 1, 0, 1, 0, 1; 0, 0, 1,...

environ 2 ans il y a | 0

Réponse apportée
How can I determine the angle between two vectors in MATLAB?
Currently, there is no built-in MATLAB function to calculate the angle between two vectors. However, you can use dot product pro...

environ 2 ans il y a | 0

Réponse apportée
Justify text in MATLAB Live Editor
Text can be left/right/center justified. Refer to the documentation below: https://www.mathworks.com/help/matlab/matlab_prog/fo...

environ 2 ans il y a | 0

Réponse apportée
how to enable label in x and y axis of this graph
Matlab provides two functions - xlabel and ylabel to label the x-axis and y-axis in the graph respectively. Syntax: xlabel(txt...

environ 2 ans il y a | 0

Réponse apportée
how can i create a column vector with specific values?
You can use the colon operator provided by MATLAB to create a vector with specified increment/decrement. Writing vec = 63:-1:1...

environ 2 ans il y a | 0

Réponse apportée
How to limit CPU availabilty to Matlab
LASTN = maxNumCompThreads(N) sets the maximum number of computational threads to N, and returns the previous maximum number of...

environ 2 ans il y a | 0