回覆列表
  • 1 # 使用者8171356101758

    function [R,ct] = my_fun999(mind,maxd,div)

    % 存為 my_fun999.m

    R = [];

    ct = 0;

    if mind

    % 驗證

    >> [R,ct] = my_fun999(200,500,7)

    R =

    203 210 217 224 231 238 245 252 259 266 273 280 287 294 301

    308 315 322 329 336 343 350 357 364 371 378 385 392 399 406

    413 420 427 434 441 448 455 462 469 476 483 490 497

    ct =

    43

    >> [R,ct] = my_fun999(200,500,0)

    R =

    []

    ct =

    0

  • 中秋節和大豐收的關聯?
  • 不食嗟來之食說的是誰?