Publicado


MockObject
Sean‘s pick this week is Mock Object by Paul Sexton. Paul has provided a mock object that is useful for mocking...

más de 8 años hace

Thumbnail

Publicado


New Deep Learning Blog
Our colleague and long time blogger Steve Eddins recently started a second blog on Deep Learning.  If you are interested in...

más de 8 años hace

Thumbnail

Publicado


MATLAB Basemap Data (R2017b)
Jiro‘s pick this week is MATLAB Basemap Data by MathWorks Mapping Team.In the new R2017b release, there is a new interactive...

casi 9 años hace

Thumbnail

Publicado


Membrane Logo Zoetrope
Sean‘s pick this week is the MathWorks Logo Zoetrope by Ned Gulley. This week I urge you to check out the blog post on the...

casi 9 años hace

Thumbnail

Respondida
入れ子関数での反復計算、ループのさせ方
入れ子関数とはこのようなものですが <https://jp.mathworks.com/help/matlab/matlab_prog/nested-functions.html 入れ子関数> そのことについて聞かれているのでしょうか?上のコー...

casi 9 años hace | 1

| aceptada

Respondida
選択した画像の表示
セル配列 |mydata| に複数の画像データが入っているので、通常のインデックスでそれぞれ取り出せます。 1つ目の画像: |mydata{1}| つまり、1つ目の画像を表示したい場合は imshow(mydata{1})

casi 9 años hace | 2

Publicado


Cursorbar
Sean‘s pick this week is Cursorbar by Marjorie. I really like both Simulink Data Inspector and the new Signal Analyzer App...

casi 9 años hace

Thumbnail

Respondida
functionの書き方について
実行された時のエラーメッセージを見てみてください。 おそらく、存在しない変数 |img| があります、みたいなエラーメッセージだと思います。関数を見てみると 2 行目で |clear| を実行してます。せっかく関数に入ってきた変数 |img| がクリ...

casi 9 años hace | 4

| aceptada

Publicado


Reading the last N lines from a CSV file
Jiro‘s pick this week is csvreadtail by Mike.Recently, I’ve been working on customer projects around improving the...

casi 9 años hace

Thumbnail

Publicado


Summing and Multiplying NaNs: Use cases???
Contents nancumsum() , nancumprod() My Questions For your consideration nancumsum() , nancumprod() This week, instead of...

casi 9 años hace

Thumbnail

Publicado


Stateflow sliding mode controller demo
Will‘s pick this week is Stateflow sliding mode controller demo by Bogumila &amp; Zbigniew Mrozek. I always enjoy a good...

casi 9 años hace

Thumbnail

Respondida
InputParser - problem with keepUnmatched
The KeepUnmatched property is for optional parameter-value inputs, not for the required inputs. As Walter mentioned, for this to...

casi 9 años hace | 0

Respondida
How can i get matlab R2007b 64Bit compilers
If you are on a 64-bit machine, MATLAB Compiler will create a 64-bit *.dll. So install MATLAB (+ MATLAB Compiler) on a 64-bit ma...

casi 9 años hace | 0

Respondida
Readtable extremely slow when excel file has formatting
Have you tried setting the <https://www.mathworks.com/help/matlab/ref/readtable.html#input_argument_d0e847323 "basic" property> ...

casi 9 años hace | 2

Publicado


Trace your calls (to your methods)
Jiro‘s pick this week is tracer4m by per isakson.I teach a training course on “Object-Oriented Programming (OOP) with...

casi 9 años hace

Thumbnail

Respondida
dlmwrite関数で列ベクトルをテキスト出力する際、列サイズが大きいと途中で改行されてしまう。
出力された txt ファイルをどのように確認してますか?Windowsのメモ帳だと恐らく表示する幅に限度があるみたいです。 <</matlabcentral/answers/uploaded_files/85140/notepad.png>> ...

casi 9 años hace | 0

Respondida
arrayfun() mistakes a vector optimization parameter for a scalar optimization parameter
Isnt't it because you are passing in "1" (scalar) as the initial guess to |fminsearch|? Perhaps you can pass in a 1x413 vector o...

casi 9 años hace | 0

Publicado


Impressionism
Sean‘s pick this week is impressionism by David Mills. My pick this week is a fun one that takes your images and transforms...

casi 9 años hace

Thumbnail

Respondida
How to extract image pixel region by image index value ?
im_region = im(id1:id2,id3:id4);

casi 9 años hace | 0

Respondida
x軸の値を表記転換するには?
新しい質問に対して回答します。 1. データ番号を100(正確には101 : MATLAB は1から数えるため)から15刻みで表記。 |plot| コマンドの前にx軸となるベクトルを定義すればできます。 % まず 0 ~ 511 まで...

casi 9 años hace | 2

| aceptada

Resuelto


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

casi 9 años hace

Resuelto


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

casi 9 años hace

Respondida
Manipulating strings defined with the new double quote option
Read up on the documentation on "strings". <https://www.mathworks.com/help/matlab/matlab_prog/create-string-arrays.html Creat...

casi 9 años hace | 7

Respondida
値の変動を色で表現するグラフの作成方法
色スケールは |surface| コマンドで無理やり作ってみました。例として既定のカラーマップ(parula)を使用しましたが、実際のスケール(1が赤で-1が青、その間は?)が分かれば簡単に変更できると思います。 % データ定義 x = 0...

casi 9 años hace | 3

| aceptada

Publicado


Real-Time Pacer for Simulink
Sean‘s pick this week is Real-Time Pacer for Simulink by Gautam Vallabha. Contents Slow Down! Speed Up! Comments Slow...

casi 9 años hace

Thumbnail

Respondida
日付のかけ離れた折れ線グラフを同じx軸上にプロットし、離れている区間は省略してプロットしたい。
既存の機能としてはないと思いますのでグラフのカスタマイズをうまく活用するのがよいでしょう。Michio さんの方法も一つですが、他の案として二つ別々の軸を作成して、隣同士に配置するというのはどうでしょう。 % x軸のデータは xData1 xDa...

casi 9 años hace | 4

Respondida
フーリエ解析を使用した周波数解析について
正弦波は sin(2*pi*f*t) なので定義は以下のようになるのではないでしょうか。 sinwave1 = sin(2*pi*0.5*model_timestep1); sinwave2 = sin(2*pi*1*model_times...

casi 9 años hace | 2

| aceptada

Respondida
waveletを使用した低周波の解析について
Wavelet についてそれほど詳しくはないのですが、ざっとコードを拝見してて気づいたのですが、 |fa| の定義が fa = 0.1:1; だと 0.1 Hz しか定義されません。 fa = 0.1:0.1:1; にすると...

casi 9 años hace | 2

| aceptada

Publicado


Extract text from PDF documents
Jiro‘s pick this week is “Read text from a PDF document” by Derek Wood.Ah, this is a nice entry. I was hoping for...

casi 9 años hace

Thumbnail

Respondida
MATLAB(あるいはSimulink)とProcessingの間でのリアルタイムのデータの渡し方について
同じPC内の二つのプロセス通信だと COM や TCP/IP などが考えられます。また、MATLAB には様々な言語から呼べるインターフェイスがありますので、もしかしたら Processing が Java ベースなのでしたら Java 用 AP Iが使え...

casi 9 años hace | 3

| aceptada

Cargar más