Programming Languages:
C++, MATLAB
Spoken Languages:
English
C++, MATLAB
Spoken Languages:
English
Feeds
已回答
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...
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 前 | 0
| 已接受
已回答
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...
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 前 | 0
| 已接受
已回答
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 ...
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 前 | 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...
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 前 | 0
| 已接受
已回答
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...
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 前 | 0
| 已接受
已回答
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...
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 前 | 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)...
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 前 | 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...
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 前 | 0