randloop

バージョン 1.0.0.0 (634 Bytes) 作成者: Jesse Crotts
Creates a randomized loop around the origin.
ダウンロード: 11
更新 2018/1/8

ライセンスの表示

This code creates a random loop around (x,y) = (0,0).
Inspired by: 3Blue1Brown (YouTube)
URL: https://www.youtube.com/watch?v=AmgkSdhK4K8

Code Example:
clc; clear
points = 7;
smoothness = .01;
[dist theta] = randloop(points,smoothness)
polarplot(dist,theta)
% or
% plot(theta.*cos(dist),theta.*sin(dist)) % for cartesian plot

引用

Jesse Crotts (2026). randloop (https://jp.mathworks.com/matlabcentral/fileexchange/65630-randloop), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2016b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersVolume Visualization についてさらに検索
バージョン 公開済み リリース ノート
1.0.0.0