Question

i want when the user inputs on a matrix or vector to be required to include the clecius symbol how would i do tha?

stoich_coeff= input('Enter a vector of stoichiometric coefficents [1x4]: '); heat_reaction =input('Enter the heat of reaction ...

10 months ago | 1 answer | 0

Question

instead of saving a mat file i want ro save a .txt, i want to use fopen, fclose, and fprintf

Instead of saving the lists of processes to Core1.mat and Core2.mat, write the lists of processes to the files Core1.txt and Cor...

10 months ago | 1 answer | 0

Question

how to store even and odd strings into 2 seperate vectors using mod function

For example Names is a 16x1 1.) a 2.) b 3.)c 4.)d 5.)e i want to store a,c,e in variable core 1 and i want to store b,d...

10 months ago | 2 answers | 0

Question

Need help with sorting a string when a numeric vector moves also . Can't use the sort or min function

So im trying to sort a string basec on how to Times variable moves in Task 2, i figured out how to sort the Times in ascending o...

10 months ago | 1 answer | 0

Question

need help with task 2, heres what i have so far

clc, clear all, close all %Task 1 square = input('Enter a proposed magic square: '); [R,C]=size(square); while R~=C ...

10 months ago | 0 answers | 0

Question

trying to get when I say yes it would repeat again and if no it stops the loop, but it would store all the yes values until i say no im like 95% almost done with it just need that part

%% choice= input('Enter a vector sufficent for an odd-order polynomial: '); a=numel(choice); C = 1; %b = mod(a,2); whi...

11 months ago | 1 answer | 0

Question

count function, whwn i enter numbers and its wrong the count isnt going read the commnets i made

choice= input('Enter a vector sufficent for an odd-order polynomial: '); % inputs an even or odd vector [1]- odd [1 2]-even a=...

11 months ago | 1 answer | 0

Question

Array indices must be positive integers or logical values error

load('P2_ColorGuide.mat') Thicc=["Resistor", "Color Band"]; choice= menu('Is your input a resistance or a set of colorband',Th...

11 months ago | 0 answers | 0

Question

how do you count the number of zeros after the first 2 digits entered by a user and index that from a string matrix

the p2 color guide map should help load('P2_ColorGuide.mat') Thicc=["Resistor", "Color Band"]; choice= menu('Is your input ...

11 months ago | 0 answers | 0

Question

so for when i try to mutiply the variable v my number is really big can someone explain why. The choose in is user input

what im trying to do is when the user inputs a number 0-360 depnding on the number a equation will be used but its not being mul...

12 months ago | 1 answer | 0

Question

Trying to mask can anyone help?

%% choose_in = input('Please enter a psoition between 0 and 360 '); if (choose_in < 0) choose_in = abs(choose_in); ...

12 months ago | 0 answers | 0

Question

if statements, keep getting error can someone explain why?

Promt - Write a user-defined function named Deflection_cougarnetID.m which has one input (position x) and one output, (deflectio...

12 months ago | 2 answers | 0

Question

How to get the title to change on a graph when on the menu function a different item is chosen

location_menu= menu('please select a location data to plot',LocationID); graph1=Ice(:,location_menu) plot(Days,graph1,'ro'); ...

12 months ago | 0 answers | 0

Question

How to get a graph from menu

I want it so when we choose a item on the menu, a graph of that item chosen will load a grpah of all the info from that variable...

12 months ago | 0 answers | 0

Question

I have a matrix that is 17x6 and for one task i need to find • The location with the highest average ice thickness • The maximum overall ice thickness measurement with the associated location and day

I'm confused on how to do this. more so on how to get the index the day and location. But the location name is on a 1x6 and we h...

12 months ago | 1 answer | 0

Question

How to find the average of a single column in matrix

i have a 17x6 matrix and i want to find the average of the last column WITHOUT hardcoding meaning if that matrix becomes a 16x4 ...

12 months ago | 1 answer | 0

Question

need help with percentage??

Prompt the user to enter to projected percent reduction in artic ice thickness a year after the last recorded day (0 – 100%). Cr...

12 months ago | 0 answers | 0

Question

Put workspace data into menu and prompt someone to select it

Homework Question: Prompt the user to select a day and a location based on the data provided. On the command window, output the...

12 months ago | 1 answer | 0