Published


Win some cash with your live scripts!
Jiro‘s pick this week is these three live script examples: Modeling the performance of an electric car by Daniel Frey The...

8 years ago

Thumbnail

Answered
Parforループにおけるワークスペース上の変数の扱いについて
基本的には |parfor| 内の計算はワーカーの MATLAB プロセスで計算されるため、使われる変数はワーカーのワークスペースに一時的でも存在しなくてはなりません。ワーカーは共有メモリ(shared memory)ではなく分散メモリ(distribut...

8 years ago | 2

| accepted

Published


The Curling Game
Will‘s pick this week is The Curling Game by Corey Lagunowich. The Winter Olympics may be over, but for some of us, a...

8 years ago

Thumbnail

Published


Contour Data
Sean‘s pick this week is contourdata by Duane Hanselman. Last week I was asked a simple question from a customer: “How do I...

8 years ago

Thumbnail

Answered
xlsread 数値文字混合 別処理
ドキュメンテーションをご覧になっていただくと分かりますが <https://jp.mathworks.com/help/matlab/ref/xlsread.html |xlsread|> は自動的に数値と文字を分けて読み込めるので、こんな感じでできるかと...

8 years ago | 4

Answered
配列内の要素を行ごとに演算する方法を教えてください
こんな感じでいかがでしょう B = A(:,1) ./ A(:,2) ※ 解釈: |A| の1列目 ÷ |A| の2列目

8 years ago | 3

| accepted

Answered
変数名のついたフォルダにファイルを移動する
|movefile| を呼ぶときに関数構文を使う事で、 |num2str(gain)| を文字列としてではなく評価した結果として使うことができます。 gain = 0; mkdir(num2str(gain)) movefile('A...

8 years ago | 4

| accepted

Published


Fruit Package
Jiro‘s pick this week is A simple fruit package by kim9091.This one is a fun and well-written example of 3D graphics using...

8 years ago

Thumbnail

Answered
How to optimize imagedatastore speed?
I'd like to know a bit more about the folder structure and how you are splitting/choosing your sub-set. The reason I'm asking is...

8 years ago | 1

| accepted

Published


A Classy MATLAB Wrapper for your C++
Greg’s pick this week is Example MATLAB class wrapper for a C++ class by Oliver Woodford. You have a C++ class that you...

8 years ago

Thumbnail

Published


New MathWorks Tools
Sean‘s pick this week is to revisit three prior Picks of the Week. While reading through the 2017 review and reviews for...

8 years ago

Thumbnail

Answered
三次元表示を行いたい(三次元空間内でメダカを棒状で表示したい)のですが、あともう少しのアイデアが出ません。教えていただけないでしょうか?
<https://www.mathworks.com/help/matlab/ref/ellipsoid.html |ellipsoid|> 関数を使ってもできそうです。 % 中心点(xc, yc, zc)、半軸の長さ(xr, yr, zy)、解...

8 years ago | 2

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

Load more