Answered
App Designer MATLAB: if-else condition not working
What is the default value for app.StatebuttonButton.Value? Have you checked it in the first place? If it is "1", it always skip...

2 years ago | 1

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

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

2 years ago | 1

Answered
Faster R-CNN学習時のエラーについて
https://jp.mathworks.com/matlabcentral/answers/372665-fastrcnn-out-of-memory こちらの回答が参考になるかと思います。

2 years ago | 0

| accepted

Answered
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 years ago | 1

Answered
pathtool関数を機能させるにはどうしたらいいですか?
https://jp.mathworks.com/matlabcentral/answers/378779-why-do-i-get-undefined-function-or-variable-pathtool にた物がありました。再インストールが良い...

2 years ago | 0

| accepted

Answered
画像の代わりに2次元データを入力にして深層学習を行いたいのですが、どのように入力すればよいでしょうか?
画像のネットワークを利用して、trainNetwork 関数で学習する場合は cell が引数として適当では無いです。こちら から対応している型 (datastore等) を確認し、cell を変換すれば利用できると思います。 c = {[1 2;3 4...

2 years ago | 1

| accepted

Answered
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 years ago | 0

| accepted

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

2 years ago | 0

| accepted

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

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

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

2 years 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:...

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

2 years ago | 0

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

2 years 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"}' ...

2 years 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')

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

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

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

| accepted

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

2 years 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 years ago | 0

Load more