Réponse apportée
凡例の長さを変えたい
R2014b以後のバージョンを仮定しますが、legendオブジェクトのプロパティを編集することで、凡例で表示される線の長さを変更することが可能です。 例えば、下記は凡例の線を長く変更しています。 h1 = plot(1:10); [h...

presque 10 ans il y a | 3

| A accepté

Réponse apportée
最適な近似式の探索方法について
線形結合(例:Y = C1*a + C2*b + C3*c) であれば Statistics and Machine Learning Toolbox (R2014b以前はStatistics Toolbox) の関数 fitlm が便利です。 線形...

presque 10 ans il y a | 2

| A accepté

Réponse apportée
Polar関数での線の太さと角度ピッチの指定
R2016aで新しく実装された polarplot 関数ではオプションで、線の太さ、角度ピッチを任意に指定することが出来ます。 polarplot http://jp.mathworks.com/help/matlab/ref/polarplo...

presque 10 ans il y a | 2

| A accepté

Réponse apportée
Neural Network ToolboxでのCNN使用について
既にコメント欄に英語で回答がついていますが、R2016aでのCNNの実行には Compute Capability 3.0 以上の CUDA®-enabled NVIDIA® GPUが搭載されたマシンが必要です。

presque 10 ans il y a | 1

Réponse apportée
大規模行列の固有値問題
計算の可否は行列の性質、非ゼロ要素の割合、ご利用の環境に依存します。 40万x40万の行列はdouble型で定義した場合、密な行列で約1200GB、スパース行列で定義しても1%の非ゼロ要素率で約12GBの容量を必要とします。 例えば行列をローカ...

presque 10 ans il y a | 3

Réponse apportée
Matlab to extract the n th diagonals in a Matrix
Have you considered using diag function? A=[ 1 0 0 0 ; 0 2 0 0 ; 0 0 3 0 ; 0 0 0 4]; dA = diag(A); dA([2,4]) ans = ...

presque 10 ans il y a | 0

Réponse apportée
日本語版MATLABでReport Generatorにより英語のレポートを作成するにはどうすればよいですか?
日本語版MATLABをインストールした場合でもデスクトップ言語を英語に設定してMATLABを起動することで、出力レポートの言語を英語にすることができます。 R2015aからは[設定]メニューから言語を設定できます。ホームタブの[設定]から[一般]に進...

presque 10 ans il y a | 3

| A accepté

Réponse apportée
Compute the product of the next n elements in matrix
In the spirit of avoiding for-loops... x = 1:10; n = 3 % Example N = length(x); index = zeros(N-n+1,n); index(:,1) ...

presque 10 ans il y a | 0

Réponse apportée
Matlab how to draw multiple subplots on an inactive window.
I think the issue will be resolved if you specify which axes to make a plot on. Try handle_figure = figure; for i=1:64 ...

presque 10 ans il y a | 0

Réponse apportée
How to clear all handles of style or type 'text' or 'static text' in Matlab GUI ?
Have you considered using findobj function? It locates graphics objects with specific properties. h = findobj(objhandles,'P...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
How to write matlab code for Heat equation to find order of convergence using finite element method when exact solution is unknown
PDE Toolbox offers finite element functionalities for both 2D and 3D problem. Regarding the order of convergence without know...

presque 10 ans il y a | 0

Réponse apportée
Error using arrayfun inside spmd function
I believe use of arrayfun (GPU) within spmd itself is supported. Will the following script give an error on your environment? ...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
Undocumented way to output the smallest 3 eigenvalues of the 500 eigenvalues using eig?
As you have already figured out, eig always finds all the eigenvalues and does not have an undocumented option to find, for exam...

presque 10 ans il y a | 1

Réponse apportée
Dealing with very high number like 2^1024 bit
One way to overcome the issue is to use the Symbolic Math Toolbox in MATLAB to evaluate expressions with more floating-point p...

presque 10 ans il y a | 0

Réponse apportée
How can I make fft2 parallel?
Are you considering using gpu? fft2 is one of the built-in functions that support gpuArray. It requires Parallel Computing Tool...

presque 10 ans il y a | 1

| A accepté

Réponse apportée
Suptitle - is it possible to use with arguments besides text?
suptitle accepts one input argument, so try suptitle(['my number= ',num2str(num)])

presque 10 ans il y a | 0

| A accepté

Réponse apportée
scatter plot with different radius for different range of values
I know it's not as elegant as we hope, but one way is to create a new variable that represents the radius and then use scatter f...

presque 10 ans il y a | 2

| A accepté

Réponse apportée
I have one doubt, i have t=1x16x32 double, i need to store these into matrix form.
squeeze function could be of help. Please try t = rand(1,16,32); t_new = squeeze(t); whos t_new 32x16 matrix can b...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
Reading a file and loading in to matlab.
If you are working on Windows system, I am guessing you can rename all the files to *.txt using the following command syste...

presque 10 ans il y a | 0

Réponse apportée
Specifying the boundary conditions in the PDE toolbox
I don't think you can specify a boundary condition at a point inside the geometry. How's creating a small void inside the geome...

presque 10 ans il y a | 1

Réponse apportée
Fluid flow & heat transfer using PDE toolbox
I assume that you are trying to solve a system of equations in an axisymmetric cylindrical domain, 2D r-z. Currently, PDE Toolbo...

presque 10 ans il y a | 1

Réponse apportée
Move file into folder
How's trying filename = ['Slice_',num2str(i),'.png']; movefile(filename,newdir); instead of movefile('Slice...

presque 10 ans il y a | 0

Réponse apportée
How can I refer the value from a matrix when I do 2-dimensional integral operation?
When performing integration, integral2 function provides fun with x,y as matrices, not necessarily scalars. In other words, the ...

presque 10 ans il y a | 1

| A accepté