Community Profile

photo

Abhijit Nayak


Last seen: 2 years ago Active since 2022

Programming Languages:
C++, MATLAB
Spoken Languages:
English

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
How to display a result
h=[10 20 30]; [m,n]=size(h); for i=1:n f=h(i).^3+2*h(i)-h(i).^2; fprintf("The value at "+h(i)+"m is %f\n",f); end...

2 years ago | 0

| accepted

Answered
How to replace numbers in a matrix with another number?
I guess from my understanding of your question that you just want to replace the values with 0 if their magnitude is less than a...

2 years ago | 0

| accepted

Answered
How to fix the figure plot always being above on the screen?
From your query, I can guess you want to position the plot graph at some point on the screen which would help you to debug your ...

2 years ago | 0

Answered
how to resize a matrix two pair of two numbers stacked together?
According to my understanding you want to arrange the odd and the even numbers from a 1-D matrix into a 2-D matrix but with a ce...

2 years ago | 0

| accepted

Answered
Merging Cell Array Elements with cellstr
I understand you want to automate merging of columns for a given matrix by using ‘cellstr’ function. The following code would wo...

2 years ago | 0

| accepted

Answered
how do i write a scrip for finding the loop of sin figures
This is a method of finding square-root of a number using Babylonian Method. The following code is for your required significa...

2 years ago | 0

Answered
Split 3D matrix into many 2D matrix and save them individually in matlab
So, we need a way to extract the 2D matrix along z-axis and then save them as .csv file. I have given a code below for (3*4*2)...

2 years ago | 0

Answered
How to draw two plots in one figure?
From my understanding, you are looking for a way to have two plots in one figure with a common x-axis. You can use “yyaxis” func...

2 years ago | 0