octave 06 and 08WIP
This commit is contained in:
parent
e9d7aa3900
commit
c3777e550b
15 changed files with 303 additions and 0 deletions
6
1sem/octave/08/avg_len.m
Normal file
6
1sem/octave/08/avg_len.m
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
## Author: nuark <nuark@DESKTOP-MJTVANB>
|
||||
## Created: 2019-12-08
|
||||
|
||||
function l = avg_len(C, P)
|
||||
l = sum(cellfun(@length, C) .* P);
|
||||
endfunction
|
||||
Loading…
Add table
Add a link
Reference in a new issue