Published


Whac-a-Mole with Arduino
Jiro‘s pick this week is Whac-a-Mole with Arduino by Sophia Hubscher. Here’s a fun classic arcade game,...

8 years ago

Thumbnail

Published


Ugly Data App
Richard is a Consultant at MathWorks focused on the Embedded Coder product for code generation, primarily in the Aerospace ...

8 years ago

Thumbnail

Published


Non-Uniform Contourf
Jiro‘s pick this week is non-uniform contourf/imagesc/colorbar by Yuxin Jiang.I discovered this File Exchange entry after...

8 years ago

Thumbnail

Published


Let It Snow
Sean‘s pick this week is LetItSnow by Richard Moore. It’s pretty simple, for those of us on the east coast of the US: let...

8 years ago

Thumbnail

Answered
エラー:500 の最大の再帰限界値に達しました について
これはあくまでも経験上から回答ですが、コンピュータがクラッシュするというのは壊れて使えなくなるというより、フリーズしたり強制終了したり再起動されたりする様な状況をいいます。 <https://ja.wikipedia.org/wiki/%E3%82%B9%...

8 years ago | 3

| accepted

Published


Looking back: 2017 in review
And so 2017 comes to an end. And here again, to close out a year of exciting File Exchange Contributions: our annual...

8 years ago

Thumbnail

Answered
fprintfでデータを送る際のゼロパディングのやり方
<https://jp.mathworks.com/help/matlab/ref/dec2hex.html |dec2hex|> のドキュメンテーションをご覧になると、 |dec2hex(d,n)| という構文があるのがわかります。 >> de...

8 years ago | 2

| accepted

Published


Star Wars API Reader
Sean‘s pick this week is Star Wars API Reader by Heather Gorr. What is the average height of an Ewok? allspecies =...

8 years ago

Thumbnail

Solved


ベクトルのスケーリング
入力したベクトルの大きさを1にしてください。

8 years ago

Solved


ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
MATLABでは,角括弧の中に要素を入れることで、ベクトルを作成できる。 x = [1 2 3 4] また次のようにも書ける(コンマはオプション)。 x = [1, 2, 3, 4] 問題:次のベクトルを出力する関数を作成せよ。...

8 years ago

Solved


2倍してみよう - ここからスタート!
初めにこの問題を試してみよう。 入力としてxを与え、それを2倍して結果をyに代入せよ。 Examples: Input x = 2 Output y is 4 Input x = 17 Output y is 34 ...

8 years ago

Published


Download Stock Data
Jiro‘s pick this week is “Historical Stock Data Download (alternate Method)” by Captain Awesome.I’m not an expert in stocks,...

8 years ago

Thumbnail

Answered
3次元棒グラフでの可視化について
棒グラフではありませんが、 <https://jp.mathworks.com/help/matlab/ref/stem3.html |stem3|> で似たようなグラフが作成できます。 x = randi(10,1,10); y = ra...

8 years ago | 2

Answered
どうすれば、GUIDEで設定したテーブルに計算した結果を表示することができますか?
こちらのページが参考になると思います。 <https://jp.mathworks.com/help/matlab/creating_guis/synchronized-data-presentations-in-a-guide-gui.html テ...

8 years ago | 2

| accepted

Published


Minimizing energy to segment images, or cluster data
Brett‘s Pick this week is Pottslab – Multilabel segmentation of vectorial data, by Martin. Segmenting images and...

8 years ago

Thumbnail

Answered
リスト化するファイルの範囲指定
8/26 12:00-12:59 の観測ファイルをリスト化できているのでしたら、それに8/26 13:00-13:59 の観測ファイルを追加すればよいのではないでしょうか。 %ファイル名をフルパスごと取得 (8/26 12:00-12:59) ...

8 years ago | 2

| accepted

Published


Line – Goto From Tool
Sean‘s pick this week is Line – Goto From Tool by McSCert. While reading Guy’s post about the new signal highlighting...

8 years ago

Thumbnail

Answered
MATLAB Functionブロックの使用方法
全ての <https://jp.mathworks.com/help/matlab/ref/switch.html |switch-case|> 構文に |otherwise| を追加してみてください。 つまり、例えば |jug| が0、1、2、3、...

8 years ago | 1

| accepted

Answered
imageにおける、各要素の特定の値に対応した配置について
<https://jp.mathworks.com/help/matlab/ref/pcolor.html |pcolor|> を使うと非線形の X,Y の位置指定ができます。ただ、image 関数と仕様が違うので多少設定をいじる必要があります。以下のサン...

8 years ago | 3

| accepted

Answered
ハフ変換で求めた直線の式
「直線の式」とウェブで検索すると2点を通る直線の式の求め方、というページがいくつか見つかります。 <https://jp.mathworks.com/help/images/ref/houghlines.html#outputarg_lines |h...

8 years ago | 2

Published


getElevations
Will‘s pick this week is getElevations by Jaroslaw Tuszynski. Always a fan of simple, effective utilities, I couldn’t pass...

8 years ago

Thumbnail

Answered
sfit型からの3次元等高線の作成
|sfit| オブジェクトを使って |X| と |Y| のグリッドに対して再評価し、 |contour3| を呼べば良いと思います。 xx = linspace(min(x),max(x)); yy = linspace(min(y...

8 years ago | 2

| accepted

Published


Get Computer MAC Address
Sean‘s pick this week is Get Computer MAC Address by Xiangrui Li. What is a MAC Address and what is it used for? I like...

8 years ago

Thumbnail

Answered
エクセルファイルを読み込み、グラフの上からプロットするには。
既にグラフが存在するとして、こんな感じでしょうか。 ex_data = xlsread('file.xls'); % エクセルから数値データをインポート hold on % ...

8 years ago | 2

| accepted

Answered
2直線の交点
「2直線の交点」とウェブで検索すると公式が結構出てきますよ。 MATLAB のコマンドを使うというより数学的に解くのが良いかなと思います。こんな感じでしょうか。 既知:k1, x1, y1, k2, x2, y2 y1 = k1*x1...

8 years ago | 2

Published


QR Code Encoder/Decoder
Jiro‘s pick this week is QR Code encode and decode by Lior Shapira.On October 31, we held our biggest annual event of the...

8 years ago

Thumbnail

Answered
設定点数が少ないのに平滑なマップ
<https://www.mathworks.com/help/simulink/slref/1dlookuptable.html 1-D Lookup Table> を使って内挿法を3次スプラインとするのは如何でしょうか。 <</matlabcen...

8 years ago | 1

| accepted

Published


Easy design iteration sweeps for Simulink models
Greg’s pick this week is STOICAL by Reinhold. Simulink is well suited for laying out block diagrams of system simulations....

8 years ago

Thumbnail

Published


Mex Multithreading
Sean‘s pick this week is Mex Multithreading by Dirk-Jan Kroon. My pick this week is an example of how to write...

8 years ago

Thumbnail

Published


Labeling Data Points
Jiro‘s pick this week is labelpoints by Adam Danz.This week’s entry caught my attention for two reasons. One is that this...

9 years ago

Thumbnail

Load more