Nathaniel Porter
Followers: 0 Following: 0
Feeds
提问
An error occurred while running the simulation and the simulation was terminated
Caused by: Nonlinear iteration is not converging with step size reduced to hmin (2.63045E-16) at time 0.0740406. Try reducing t...
2 years 前 | 1 个回答 | 0
1
个回答提问
Trying to convert fuel cell model to first order rate
Create a Rate Rule for an Exponential Rate of Change This example shows how to change the amount of a species similar to a firs...
2 years 前 | 1 个回答 | 0
1
个回答提问
Starting my x-axis values not from zero
Trying to start x-axis which is my current density(j) values from the value 7e-3. Can anyone help out with this. clc; clear; ...
2 years 前 | 2 个回答 | 0
2
个回答提问
Trying to input values and determine the class of the value
How can I input a set of glucose values for example and let my network return the class (healthy or diabetic) clc; clear all;...
2 years 前 | 1 个回答 | 0
1
个回答提问
Trying to understand why my graphs are all flipped
My ohmic overpotential curve, concentration overpotential curve and cell j-v curve are suppose to be flipped meaning my voltage ...
2 years 前 | 2 个回答 | 0
2
个回答提问
Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar. To perform elementwise matrix powers, use '.^'.
clear %Variables m=10; gamma_anode = 0.5; %reactant concentration at anode gamma_cathode = 1; %reactant concentration at cat...
2 years 前 | 1 个回答 | 0
1
个回答提问
Invalid training data. Sequence responses must have the same sequence length as the corresponding predictors.
Confused as to why categorical did nto work is there somwhere else that I need to fix clc; clear all; close all; load Projectd...
2 years 前 | 1 个回答 | 0
1
个回答提问
Trying reduce overfitting of training plot
Previoulsy tried running network with two sets of data however was not succesful. Achieved progres with running one per dataset ...
2 years 前 | 1 个回答 | 0
1
个回答提问
Invalid training data. For classification tasks, responses must be a vector of categorical responses. For regression tasks, responses must be a vector, a matrix, or a 4-D arra
clc; clear all; close all; load Projectdata.mat % Split Data Glucose GlucoseReadings_T = GlucoseReadings'; GlucoseReadings...
2 years 前 | 2 个回答 | 0
2
个回答提问
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.
Cant seem to find the issue with the parenthesis clc; clear all; close all; load Projectdata.mat % Split Data Glucose Glu...
2 years 前 | 1 个回答 | 0
1
个回答提问
Number of observations in X and Y disagree.
clc; clear all; close all; %Import/Upload data load Projectdata.mat % change to label vector CS = categories(categorical(G...
2 years 前 | 2 个回答 | 0
2
个回答提问
Model producing negative values where it shouldn't
Under the section current density at electrodes im obtaining a much smaller value and a negative value when using the exp functi...
2 years 前 | 1 个回答 | 0
1
个回答提问
Trying to remove Nans when plotting histogram, pdf and cdf
clear; load InsulinReadings.mat xX2 = InsulinReadings; xX2(xX2==0)=missing; A2 = mean(xX2,'all',"omitnan") B2 = median(xX2,...
3 years 前 | 1 个回答 | 0
1
个回答提问
Trying to get all values for corresponding columns
1) Converted pdf to column vectors(string) 2) Trying to obtain all the values in fourth(glucose) corresponding to third column ...
3 years 前 | 1 个回答 | 0
1
个回答提问
Trying to produce a proper pdf, cdf and histogram from data
load InsulinReadings.mat xX2 = InsulinReadings; xX2(xX2==0)=missing; A2 = mean(xX2,'all',"omitnan") B2 = median(xX2,'all',...
3 years 前 | 1 个回答 | 0
1
个回答提问
Getting better pdf and histogram
load InsulinReadings.mat xX2 = InsulinReadings; xX2(xX2==0)=missing; A2 = mean(xX2,'all',"omitnan") B2 = median(xX2,'all',...
3 years 前 | 1 个回答 | 0
1
个回答提问
Selecting specific data from pdf
%Trying to obtain any values between 48-64 and corresponding values in the %column to the right %For example the first line...
3 years 前 | 1 个回答 | 0
1
个回答提问
Trying to convert data from pdf into mat file/column vectors and process it
1) Want to know how I can change to a matlab file 2) Only with the 3rd and fourth column 3) How can I take any values in the 3...
3 years 前 | 0 个回答 | 0
0
个回答提问
Invalid training data. For classification tasks, responses must be a vector of categorical responses. For regression tasks, responses must be a vector, a matrix, or a 4-D arra
clc; clear all; close all; load GlucoseReadings.mat % Split Data GlucoseReadings_T = GlucoseReadings'; GlucoseReadings_tra...
3 years 前 | 1 个回答 | 0
1
个回答提问
Unrecognized function or variable 'GR_outputpredicted'. Error in testcnn (line 75) predictionError = test_GR_output - GR_outputpredicted;
clc; clear all; close all; %Import/Upload data load GlucoseReadings.mat % change to label vector CS = categories(categorical...
3 years 前 | 1 个回答 | 0
1
个回答提问
Index in position 1 exceeds array bounds. Index must not exceed 24. Error in RNN_CW2 (line 20) GlucoseReadings_T = GlucoseReadings_T(ind, :);
clc; clear all; close all; load GlucoseReadings.mat rand('seed', 0) GlucoseReadings_T = GlucoseReadings'; GR_outputC1 = cate...
3 years 前 | 1 个回答 | 0
1
个回答提问
Number of elements must not change. Use [] as one of the size inputs to automatically calculate the appropriate size for that dimension.
clc; clear all; close all; %Import/Upload data load GlucoseReadings.mat % change to label vector CS = categories(categorical...
3 years 前 | 1 个回答 | 0
1
个回答提问
Trying to get plots from range of values
%Base Conditions a_anode = 0.54;%Anodic transfer coefficient a_cathode = 0.52;%cathodic transfer coefficient T = 300; %Cell T...
3 years 前 | 1 个回答 | 0
1
个回答提问
Trying to produce non-negative value
%Variables T = 1073; %Temperature E_thermo = 1; %Thermodynamic voltage x_H2_Ia = 0.95;%Hydrogyen inlet mole fraction x_O2_Id...
3 years 前 | 0 个回答 | 0
0
个回答提问
Training plot taking very long to run
How can I improve my network to run faster and use less memory. clc; clear all; close all; %Import/Upload data load generated...
3 years 前 | 2 个回答 | 0
2
个回答提问
Trying to get prediction scatter plot
clc; clear all; close all; %Import/Upload data load generated_data.mat % change to label vector CS = categories(categorical(...
3 years 前 | 1 个回答 | 0
1
个回答提问
Getting different plot ranges
Trying to get time series plot of different days from dataset. Got help previoulsy but was only able to do day 1, when altering ...
3 years 前 | 1 个回答 | 0
1
个回答提问
Trying to change plot style
%Plot of entire patient one time series load ('glucose.mat') glucose_mgdl = glucose * 18; plot(date1+time,glucose_mgdl)...
3 years 前 | 1 个回答 | 0
1
个回答提问
Trying to plot correlogram of time series data
%Plot of entire patient one time series load ('glucose.mat') glucose_mgdl = glucose * 18; plot(date1+time,glucose_mgdl)...
3 years 前 | 1 个回答 | 0
1
个回答提问
Not getting proper time series plot
The csv file is left in a table format, then A2:D60 is selected for day 1 and then imported. This set if data is then named gluc...
3 years 前 | 1 个回答 | 0