Feeds
提问
Which part is incorrect?
function [indices] = kWeakestRows(mat,k)% function disp("The number of soldiers in each row is:") answer = []; f...
3 years 前 | 1 个回答 | 0
1
个回答提问
Need help with an error
function [nums] = lengthOfLIS(array) n = length(array); lis=[]; lis(1)=1; for i=1:n lis(i) = 1; for j=1:i ...
3 years 前 | 1 个回答 | 0
1
个回答提问
Matlab help, I don't know which part is wrong.
Trying to write a function to convert a decimal number to a binary number. function [binary] = myDecimal(decimal) binary =...
3 years 前 | 1 个回答 | 0