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...
7년 초과 전 | 답변 수: 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...
7년 초과 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 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년 전 | 답변 수: 1 | 0
