Community Profile

photo

Sean St Cyr


Last seen: circa 2 anni fa Attivo dal 2020

Followers: 0   Following: 0

Statistiche

  • Thankful Level 3

Visualizza badge

Feeds

Visto da

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 3 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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?

quasi 4 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 4 anni fa | 0 risposte | 0

0

risposte