Community Profile

photo

Hiro

MathWorks

Last seen: Today Active since 2019

DISCLAIMER: Any pieces of advice or opinions posted here are of my own, and in no way reflect that of MathWorks.

Statistics

All
  • Promoter
  • 5-Star Galaxy Level 1
  • GitHub Submissions Level 1
  • First Submission
  • Solver
  • 6 Month Streak
  • First Review
  • Knowledgeable Level 4
  • Revival Level 2
  • First Answer

View badges

Content Feed

View by

Answered
I'm new in using Matlab and I'm very confused of how I would solve a derivative problem. Here is the equations and problem
You are using the capabilities of Symbolic Math Toolbox and with this you can manupulate your equations symbolically. Let's def...

3 dagar ago | 0

Answered
how to write a function for quadratic equation?
You can check the arguments before evaluating your statements this way: [x1,x2] = f(1,-2,1) [x1,x2] = f(0,-2,1) function [x...

3 dagar ago | 0

Solved


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

10 dagar ago

Solved


Calculate Amount of Cake Frosting
Given two input variables r and h, which stand for the radius and height of a cake, calculate the surface area of the cake you n...

10 dagar ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

10 dagar ago

Answered
Best Variable Type to Store and Plot Multiple Images Obtained with Regularized Filtering
When the images you are storing in a variable are consistent size-wise, a standard array is good enough. Imagine that your imag...

14 dagar ago | 0

Answered
What is the architectural difference between using `feedforwardnet` and `fitcnet`?
feedforwardnet is for regression problems whereas fitcnet is for classification problems.

15 dagar ago | 0

| accepted

Answered
extract numbers from a string.
You can use pattern: pat = digitsPattern(4); % Pattern str = '"sensor_serials": {"H1": "3637", "H2": "3638", "H3": "2787"}' ...

15 dagar ago | 1

Answered
How to remove a slash from fullfile?
How about this? wtf= fullfile('C:\\','Users','jessi','Desktop','HydrusMC','Simulations',("MC_"+num2str(1)),'Obs_Node.out')

15 dagar ago | 1

Answered
how can i plot Confusion matrix by using the predicted and actual data ?
Preddata = [table(Testdata.Loads,predClass),array2table(classifScore)]; It seems the statement above is not right. For confusio...

16 dagar ago | 0

| accepted

Answered
Use of RL Agent instead of PID
https://www.mathworks.com/help/reinforcement-learning/examples.html?s_tid=CRUX_topnav You can find many samples. MathWorks prov...

18 dagar ago | 0

Answered
correlation using specific values of the table
Here is my idea. I reccomend you should use useful functions such as price2ret, corrplot (corr), prctile and the functionality ...

18 dagar ago | 0

Answered
mtlab入門のプログラミング 判定分岐タスク2に対し解答通りに入力しても、”doPlot が 0 のとき、密度は表示されますか?”が表示される。
disp("The density of" + element ... + " is " + density) から察するに、element は string 型 なのかなと思いました。そうすると xticklabels(elem...

19 dagar ago | 0

Answered
k近傍法を用いた分類器の評価方法
resubloss の引数は (こちら参照) full-classification model である必要があります。このモデルの中には学習時のデータなどが含まれます。resubloss 関数はこの学習データを利用して再代入誤差率を計算しています。 一...

26 dagar ago | 0

| accepted

Answered
ディープラーニングニューラルネット時系列について
(1) 検証データ >> モデルを学習後、モデル選択やパイパーパラメータの決定の時に利用されます。モデルの学習に使われていないので、フェアな比較がモデル間(異なるハイパーパラメータモデル間) で行えます。テストデータ >> 検証データと学習データをモデルを...

30 dagar ago | 0

Answered
histogram2から数値テーブルを作成したい
histcount2 を使うと良いかと思います。以下の N でテーブル(行列) を得られます。 https://jp.mathworks.com/help/matlab/ref/histcounts2.html x = randn(100,1); ...

ungefär 2 månader ago | 0

Answered
日本語の文字認識を行うには
I = imread('handicapSign.jpg'); roi = [360 118 384 560]; ocrResults = ocr(I, roi); %ここを変更 Iocr = insertText(I,roi(1:2),ocrRes...

2 månader ago | 0

Answered
ドライビングシナリオでオプティカルフローを算出する。
このあたりの道具を使えば、何とかなるのではと思います: https://www.mathworks.com/discovery/optical-flow.html https://www.mathworks.com/help/vision/ref/op...

2 månader ago | 0

| accepted

Answered
転移学習を利用して回帰学習はできますか?
ディープラーニングの話かと思いますが、可能です。 結局、特徴抽出を行っている上流側を使って、最後の所で分類にするのか、回帰にするのか、自由に出来ます。 ただ、分類より回帰の方がやる事が難易度が高いので、分類用のネットワークをスタートポイントとしてある程...

2 månader ago | 0

| accepted

Answered
self service checkout machine
How about this? Is this what you expected? change = 978; % Ausie coins coins = [1 2 5 10 20 50 100 200]; numCoins = zeros(si...

2 månader ago | 0

Answered
条件を満たさない要素を保持して演算する
これじゃダメですか? A = [12 -11; -11 12; 8 -11] idx = A>10 A(idx) = A(idx) + 10

3 månader ago | 0

Answered
膨張処理における長方形の構造化要素の処理内容について
こちらを見ると良いと思います https://jp.mathworks.com/help/images/morphological-dilation-and-erosion.html opening = 収縮の後、膨張 です。 英語だと、erosio...

3 månader ago | 0

Submitted


統計モデリングの教科書: 線形回帰モデル
Understanding the Fundamentals of Linear Regression

3 månader ago | 2 downloads |

Thumbnail

Answered
how to give value stress from excel give color in my mesh
Not sure what you want to do exactly but it seems this is an application of mesh function. As you can see (click the link), you...

3 månader ago | 0

Answered
How can I draw lines between the points of traingle after the final formation. It is a formation control problem I want to make the plot as a moving graph how to make it?
If you want to draw the trajectories of the points, then comet would be a good fit. x = -pi:0.01:pi; y = sin(3*x) + 0.2*cos(4*...

3 månader ago | 0

Answered
tableをpdfに保存する方法
コードを書かなくても、Live Editor の機能を使えば、そのまま pdf 出力ができます。 Live Editor を開いて % サンプル table データ filename = 'myCsvTable.dat'; % ;を無しにして ...

3 månader ago | 0

Answered
複数のExcelファイルを連続して読み込みたい
Datastore を使うと、ループ無しでスッキリ書けます (Datastore) ds = tabularTextDatastore("*.xlsx",ReadSize="file"); こうすると T = ds.read() % もしくはread...

3 månader ago | 1

Answered
How do I plot a 3d shape from a function?
There is a good example here. x = -2:0.25:2; y = x; if you want to visualize this , then surf(x,y,x.*exp(-x.^2 -(y').^2)) T...

3 månader ago | 1

| accepted

Answered
How to label the curve instead of using legend?
How about using text instead as follows?: x = -pi:0.01:pi; y1 = cos(x); y2 = sin(x); plot(x,y1,'b-'); hold on plot(x,y2,'r-...

3 månader ago | 0

| accepted

Answered
Images obtained by GAN could not be shown
I belive the lines I = imtile(extractdata( dlXGeneratedNew )); I = rescale(I); are not behaving as you would expect. The fu...

3 månader ago | 0

Load more