Community Profile

photo

Sean St Cyr


Last seen: 9 meses ago Active since 2020

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


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

9 meses ago | 1 answer | 0

1

answer

Question


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

9 meses ago | 0 answers | 0

0

answers

Question


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

9 meses ago | 1 answer | 0

1

answer

Question


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

9 meses ago | 1 answer | 0

1

answer

Question


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

9 meses ago | 1 answer | 0

1

answer

Question


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

11 meses ago | 1 answer | 0

1

answer

Question


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

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


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

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


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

alrededor de 1 año ago | 0 answers | 0

0

answers

Question


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

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


Multiplying Matrices not working
% Start writing your program here % read excel file GradesTxt = readcell('CU3141_Grades.xlsx'); GradesDat = readmatrix('CU3...

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


Help Using readmatrix or readcell
% Start writing your program here % read excel file %[GradesDat, GradesTxt] = xlsread('CU3141_Grades.xlsx'); THIS WAS THE ...

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


Trying to do calculations for density
%% Variables % Input % P_t - Total pressure [atm] % P_s - Surface pressure [atm] % H - Height [ft] % Output % ...

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


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

alrededor de 1 año ago | 2 answers | 0

2

answers

Question


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

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


Converting Menu to Listdlg
%UserSelections choice=listdlg('ListString',Name); Power=CurData(1,:).*CurData(choice+1,:)*10^-3;%multiplying by 10^-3 to cove...

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


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

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


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?

alrededor de 1 año ago | 1 answer | 0

1

answer

Question


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

alrededor de 1 año ago | 0 answers | 0

0

answers