Why do I receive 'You must pass class labels as a vector.' error?
It said the y_train is not a vector. The argument should be any on of: categorical array, string array, character array, logica...

2 months ago | 0

Convert Column to Matrix
You can change the matrix by using these functions: reshape, flipud, circshift, rot90. You may want to check this site: https:/...

2 months ago | 0

| accepted

Linear Fitting starting from a value
refline is the easiest way to achieve that. y = [100 90 80 70 50 45 40 43 42 40 35]; x = 0:10:10*(length(y)-1); plot(x,y,'o')...

2 months ago | 0

App Designer で2つのドロップダウンリストを連動したい
https://jp.mathworks.com/help/matlab/ref/matlab.ui.control.dropdown-properties.html このあたりをみて、プロパティを変えるように設定すれば、上手く行きそうな気がしますが。試...

2 months ago | 1

Faster R-CNN学習時のエラーについて

2 months ago | 0

| accepted

I Just Paid over \$200 to Reinstall my home version of Matlab, but it tells me my i can not install any new version of Matlab. If that is the case i need a refund on my money.
You should have a contact with the MathWorks office from which you made a purchace of your MATLAB. There are people responsible...

2 months ago | 1

pathtool関数を機能させるにはどうしたらいいですか？

2 months ago | 0

| accepted

2 months ago | 1

| accepted

How to interpolate a set of data with the cubic method?
I would use Symbolic Math Toolbox to solve the problem analytically: x = [74 29 21 12 8 5.7 4.4 3.6 2.1 1.8 1.5 1.0 0.7]; y = ...

2 months ago | 0

| accepted

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...

2 months ago | 0

| accepted

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...

2 months 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...

3 months 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...

3 months 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:...

3 months ago

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...

3 months ago | 0

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

3 months ago | 0

| accepted

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

3 months ago | 1

How to remove a slash from fullfile?

3 months ago | 1

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...

3 months ago | 0

| accepted

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...

3 months ago | 0

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 ...

3 months ago | 0

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

3 months ago | 0

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

3 months ago | 0

| accepted

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

3 months ago | 0

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

4 months ago | 0

I = imread('handicapSign.jpg'); roi = [360 118 384 560]; ocrResults = ocr(I, roi); %ここを変更 Iocr = insertText(I,roi(1:2),ocrRes...

4 months ago | 0

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

5 months ago | 0

| accepted

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

5 months ago | 0

| accepted