Community Profile

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

A répondu
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,...

presque 2 ans il y a | 0

A répondu
Print a statement to the Command Window
Use the disp function to print to the command window: disp('job done')

presque 2 ans il y a | 0

A répondu
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...

presque 2 ans il y a | 0

A répondu
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...

presque 2 ans il y a | 0

A répondu
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...

presque 2 ans il y a | 0

A répondu
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...

presque 2 ans il y a | 1

A répondu
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,...

presque 2 ans il y a | 0

A répondu
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...

presque 2 ans il y a | 0

A répondu
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...

presque 2 ans il y a | 0

A répondu
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...

presque 2 ans il y a | 0

A répondu
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...

presque 2 ans il y a | 0

A répondu
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...

presque 2 ans il y a | 0