Community Profile

photo

Dhritishman


Con actividad desde 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

Estadísticas

  • First Answer

Ver insignias

Feeds

Ver por

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 1

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0

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

casi 2 años hace | 0