Feeds
提问
How to find the efficiency of a function?
Hello, I have the following function: function [ans] = sumdigits(N) a = num2str(N); sum_odd = 0; sum_even=0; an...
8 years 前 | 1 个回答 | 0
1
个回答提问
Finding how mych values contain a specific number in a matrix
I built the next matrix: A=rand(100, 100) I need to find how much values contain '3' in the first four digits. I would l...
8 years 前 | 2 个回答 | 0
2
个回答提问
What is the function for receiving a vector that will contain the elements of the second diagonal?
I know that the function for the main diagonal is diag. Is there a function for the second diagonal? If not, how can I find it?
8 years 前 | 2 个回答 | 0
2
个回答提问
beginner: writing a program that receives two one-dimensional arrays
I am having difficulties with the following task: write a program that receives two one-dimensional arrays with diffrent array...
8 years 前 | 0 个回答 | 0
0
个回答提问
beginner: writing a function to caculate sum
I'm stuck with the following task: writing a function to caculate: <</matlabcentral/answers/uploaded_files/111662/%D7%9C%D7...
8 years 前 | 1 个回答 | 0
