photo

Minhao Wang


Last seen: presque 2 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

  • Thankful Level 2
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Question


How do I replace words in the text file?
function [] = Assign5() clc;clear readstring = read_form(); [tag,replacement] = read_sub_tag(); newstring = replace_tags(rea...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


What did I do wrong in my 'for' loop function?
The question is With the help of an RESP (Registered Education Savings Plan), a parent can start putting aside money for a chi...

environ 4 ans il y a | 2 réponses | 0

2

réponses

Question


What should I do in order to make my code plot like this?
sap = input('Select a program: 1. Arts; 2. Science; 3. Engineering: '); nb(1) = 2000; mir = 0.0625/12; mc = 200; for B = 2 :...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


How can I debug this?
clc;clear C1 = input('Please enter a code to break: ' , 's'); if length(C1) ~= 6 disp('Decoy message: Not a six-digit num...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


How am I gonna do if I just want this to show me only Decoy message: Invalid rescue day . And the changes will not affect other codes?
clc;clear C1 = input('Please enter a code to break: ' , 's'); if length(C1) ~= 6 disp('Decoy message: Not a six-digit num...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


How to connect two displays?
clc;clear C1 = input('Please enter a code to break: ' , 's'); if length(C1) ~= 6 disp('Decoy message: Not a six-digit num...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


Can someone tell me how can I create a if statement with mulitple else?
clc;clear C1 = input("Please enter a code to break: " , "s"); if length(C1) ~= 6 disp("Decoy message: Not a six-digit num...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


Can we put all of these str2num in one function?
clc;clear C1 = '222222' str2num(C1(1)) + str2num(C1(2)) + str2num(C1(3)) + str2num(C1(4))... + str2num(C1(5)) + str2num(C...

environ 4 ans il y a | 2 réponses | 0

2

réponses