photo

Minhao Wang


Last seen: nästan 2 år ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 2
  • Thankful Level 1

View badges

Feeds

View by

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

ungefär 4 år ago | 1 answer | 0

1

answer

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

ungefär 4 år ago | 2 answers | 0

2

answers

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

ungefär 4 år ago | 1 answer | 0

1

answer

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

ungefär 4 år ago | 1 answer | 0

1

answer

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

ungefär 4 år ago | 1 answer | 0

1

answer

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

ungefär 4 år ago | 1 answer | 0

1

answer

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

ungefär 4 år ago | 1 answer | 0

1

answer

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

ungefär 4 år ago | 2 answers | 0

2

answers