Sean St Cyr
Followers: 0 Following: 0
Feeds
提问
How to add a trendline with ployfit
I have the following code, and I am trying to put a trendline to the graph that it outputs, How would i do that with polyfit to ...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to plot selected choices
I have the code below that give the user a dialoug box to choose a material that is read in from an excel file and turned into a...
4 years 前 | 0 个回答 | 0
0
个回答提问
How to put table in listdlg
Hi I am trying to put the table "Information" into a list Dialouge box for a user to select and I keep getting errors. Can anyon...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to format this Loop?
So the code below is reading in an excel file and the one excel sheet "Data" has sets of numbers that need to be together (hence...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to check for size of input vector
I am trying to get my code to ask a user to input a vector and then check to see if the vector is a 1 x 5 or not, and then if it...
4 years 前 | 2 个回答 | 0
2
个回答提问
How to add a column to a table
load ('StreamData.mat') WL = Stream{:,2}; H = Stream{:,3}; V = Stream{:,4}; FlowRate = WL.*H.*V; StreamSorted =...
4 years 前 | 1 个回答 | 0
1
个回答提问
What goes before this?
Month = 'Feb'; Date = '18'; N = 49; Stuff = ___ ('Feb 18 is the 49 day of the year.', Month,Date,N); %% WHAT GOES AFTER ST...
4 years 前 | 1 个回答 | 0
1
个回答提问
Error Variable Spectrum has an incorrect value.
I am trying to create a character array for it to print a certain color out if a random wavelength is input, and it is giving me...
4 years 前 | 1 个回答 | 0
1
个回答提问
Converting String to Character,
Hi, I got an error saying that my code below for the Hit, Miss, Total Miss, and Bullseye is currently a string and needs to be "...
4 years 前 | 0 个回答 | 0
0
个回答提问
Variable TempData must be of size [25 33]. It is currently of size [31 24]. Check where the variable is assigned a value.
% read excel file TempData = readmatrix ("Clemson_Temp.xlsx"); % trim TempData TempData=TempData(2:end,3:end); % calcula...
4 years 前 | 1 个回答 | 0
1
个回答提问
Multiplying Matrices not working
% Start writing your program here % read excel file GradesTxt = readcell('CU3141_Grades.xlsx'); GradesDat = readmatrix('CU3...
4 years 前 | 1 个回答 | 0
1
个回答提问
Help Using readmatrix or readcell
% Start writing your program here % read excel file %[GradesDat, GradesTxt] = xlsread('CU3141_Grades.xlsx'); THIS WAS THE ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Trying to do calculations for density
%% Variables % Input % P_t - Total pressure [atm] % P_s - Surface pressure [atm] % H - Height [ft] % Output % ...
4 years 前 | 1 个回答 | 0
1
个回答提问
Out of memory. The likely cause is an infinite recursion within the program.
%% Variables % Input % a % b the corresponding coefficients in the quadratic equation % c % Output % x1 po...
4 years 前 | 2 个回答 | 0
2
个回答提问
How to format output to exponential notation
%Additional Data newName=input('Enter name of new component: ','s'); Name{length(Name)+1}=newName; %adding new component ne...
4 years 前 | 1 个回答 | 0
1
个回答提问
Converting Menu to Listdlg
%UserSelections choice=listdlg('ListString',Name); Power=CurData(1,:).*CurData(choice+1,:)*10^-3;%multiplying by 10^-3 to cove...
4 years 前 | 1 个回答 | 0
1
个回答提问
Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.
%New Component newName=input('Enter name of new component: ','s'); Name{length(Name)+1}=newName; %adding new component newC...
4 years 前 | 1 个回答 | 0
1
个回答提问
How to extract a value from a Row or Column vector?
Im trying to take the 5th value of a randomly generated row or column vector. How would I write the code for that?
4 years 前 | 1 个回答 | 0
1
个回答提问
How can I save a certain Element from a Row or Column Vector?
I am trying to save the 5th element from a randomly generated Row vector or Column Vector, How do I go about wirting that code? ...
4 years 前 | 0 个回答 | 0