Community Profile

# Abhijit Nayak

Last seen: nästan 2 år ago Active since 2022

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

#### Content Feed

View by

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

nästan 2 år ago | 0

| accepted

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

nästan 2 år ago | 0

| accepted

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0

| accepted

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

nästan 2 år ago | 0

| accepted

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0

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

nästan 2 år ago | 0