photo

Ryan W


Last seen: ungefär 2 år ago Active since 2022

Followers: 0   Following: 0

Programming Languages:
MATLAB

Statistics

Feeds

View by

Question


Which part is incorrect?
function [indices] = kWeakestRows(mat,k)% function disp("The number of soldiers in each row is:") answer = []; f...

ungefär 2 år ago | 1 answer | 0

1

answer

Question


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

ungefär 2 år ago | 1 answer | 0

1

answer

Question


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

ungefär 2 år ago | 1 answer | 0

1

answer