photo

Dhritishman


Active since 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

Statistics

  • First Answer

View badges

Feeds

View by

Answered
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,...

mer än 2 år ago | 0

Answered
Print a statement to the Command Window
Use the disp function to print to the command window: disp('job done')

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 1

Answered
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,...

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0

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

mer än 2 år ago | 0