Community Profile

photo

Satoshi Kobayashi


Active since 2019

Statistics

  • Knowledgeable Level 3
  • Knowledgeable Level 2
  • First Answer

View badges

Content Feed

View by

Answered
How to get FFT coefficient plot
figure p = fft(P); plot(T,abs(p)/length(p)); % two-sided spectrum

ongeveer 5 jaar ago | 1

| accepted

Answered
arrayfun for Create transform object
Agent(inp,1) = hgtransform; is inappropriate in this case. r = [1;2;1]; x = [-2;0;2]; y = [-2;0;2]; inp = 1:size(r,1);for i=i...

ongeveer 5 jaar ago | 0

| accepted

Answered
mean regression of variable in multiple nc files
mean_TXx5s = mean(TXx5s); Function mean calculates the mean along lon. mean_TXx5s = mean(TXx5s,4);

ongeveer 5 jaar ago | 0

Answered
DICOMファイルのリサイズにつきまして
mriVolumeOriginalの枚数が不明なので断言はできませんが、 行数、列数および平面数を直接指定した方がよろしいのではないでしょうか。 mriVolumeResized = imresize3(mriVolumeOriginal, [227 ...

ongeveer 5 jaar ago | 2

| accepted

Answered
How to use percentages in my wind rose
numberOfMeasurement = sum(wspeed<20); p = 1:10; rticks(p/100*numberOfMeasurement) rticklabels(strcat(string(p),'%'))

ongeveer 5 jaar ago | 0

| accepted

Answered
classify関数の使い方について
https://jp.mathworks.com/help/stats/classify.html ではなく https://jp.mathworks.com/help/deeplearning/ref/classify.html をお読みください。...

ongeveer 5 jaar ago | 1

| accepted

Answered
経験的累積分布関数から95%タイル値を出力する方法はありますか?
そのデータ群における95%値を求めたい場合、prctileの使用を推奨します。 prctile(x,95) ecdfの出力にinterp1を使用した場合とは結果がわずかに変わることがありますので、定義にご注意ください。

ongeveer 5 jaar ago | 2

| accepted

Answered
csvファイルの読み込みエラー回避
try, catchの使用で、エラー時の動作を指定できます。 https://jp.mathworks.com/help/matlab/ref/try.html try AAA = dlmread('filename.csv') catch...

ongeveer 5 jaar ago | 2

| accepted

Answered
画像比較について。
imshowpairで作成されるcheckerboardは16*16マスです。 以下、img_aとimg_bのサイズが同じことを前提とします。 全体サイズはimg_aのサイズと一致します。 格子のサイズはimg_aのサイズの1/16です。 imfu...

ongeveer 5 jaar ago | 1

| accepted

Answered
DICOMファイルのデータサイズの読み込み方
二通り提示します。 imds = imageDatastore(fullfile(currentdirectory,categories),'IncludeSubfolders',true,'FileExtensions','.dcm','LabelSo...

ongeveer 5 jaar ago | 2

| accepted

Answered
Problem reading a csv file
Your csv file includes semicolons in the range. Dlmread cannot use two deliminators. I recommend you to use textscan. fileID ...

ongeveer 5 jaar ago | 0

Answered
"Invalid use of operator" importing lab data
A space is missing in line 30. LoadString=['load ' FilePath FileName FileExtension];

ongeveer 5 jaar ago | 0

Answered
Crop with imfreehand?
I = imread('corn.tif',2); imshow(I) h = imfreehand; % Place a closed ROI by dragging and double-click on the region. position...

ongeveer 5 jaar ago | 0

| accepted

Answered
How to not display the first item in map legend?
figure worldmap ([ymin ymax],[xmin xmax]) title ('mytitle') geoshow('landareas.shp','FaceColor',[0.7 0.8 0.6]) hold on %pl...

ongeveer 5 jaar ago | 0

| accepted

Answered
DICOM File Output Error (DICOMファイルのアウトプットエラーについて)
グレースケールイメージの表示範囲の問題だと推測します。 16 BPPのdicomで再現した結果、指定しなかった場合のグレースケールイメージの表示範囲(座標軸のCLim)は[-32768 32767]、すなわち、int16の最小値と最大値でした。 また...

ongeveer 5 jaar ago | 2

| accepted

Answered
I keep getting the error index exceeds the number of array elements(1)
The problem is that dice is completely changed in each loop. In this case, roll is meaningless. dice = zeros(1,300); for i = ...

ongeveer 5 jaar ago | 1

| accepted

Answered
datファイルから2番目のデータを取得したい
提示された通りの形式でデータが保存されているのなら、これはcsv形式ではなく、csvreadは使えません。 dlmreadかtextscanを使うとよいでしょう。 d = dlmread('abc.dat'); data = d(2); fil...

ongeveer 5 jaar ago | 2

| accepted

Answered
文字列の数値化について
str2numでは文字を空行列に変換します。 forを使わない方法を提示します。 A = {'73647360',[1121];... '1212',[1232];... 'Phoenix',[5654563]}; B = cel...

ongeveer 5 jaar ago | 3

| accepted

Answered
ナイキスト線図やボード線図のタイトルを消したい
以下の方法で関数bodeで作成したボード線図のタイトル、Xラベル、Yラベルを消すことができます。 この方法でタイトルを消すと (Hz) が復活するので、タイトルを最初に消してください。 figure H = tf([1 0.1 7.5],[1 0.1...

ongeveer 5 jaar ago | 2

| accepted