photo

John Jamieson


Last seen: 거의 5년 전 2020년부터 활동

Followers: 0   Following: 0

통계

MATLAB Answers

10 질문
1 답변

순위
32,895
of 300,365

평판
1

참여
10 질문
1 답변

답변 채택
20.0%

획득한 표
1

순위
 of 20,933

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 168,262

참여
0 문제
0 답안

점수
0

배지 수
0

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • Thankful Level 1

배지 보기

Feeds

보기 기준

질문


How to count number of words in a string
My code is as follows function [wordcount] = wordCount(strtxt, n) wordcount=0; y=1; for x=1:length(strtxt) space=strfind(st...

거의 5년 전 | 답변 수: 2 | 1

2

답변

질문


How to add a newline after a certain number of characters
function [strMultiLines] = nCharLine(strtxt, n) Length=length(strtxt); strMultiLines=strtxt; strMultiLines=[strMultiLines(1:n...

거의 5년 전 | 답변 수: 2 | 0

2

답변

질문


How to replace all newline characters in a string with a space?
I want to replace all newline characters in an inputted string of characters "strtxt" with spaces. However, I've no idea how to ...

거의 5년 전 | 답변 수: 2 | 0

2

답변

질문


How do I output data from a txt file?
Let me explain, I want to take these messages from a .txt file: Congratulations! Way to go! You're amazing! Fantastic! ...

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


How do I call upon a function in another function?
This is what I have: function [Output] = Jamiesonlab5 () Result=input('Please press any key to roll the dice, press Q or q to ...

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


How do I use characters with an if statement?
My code looks like this Prompt='Please press any key to roll the dice, press Q or q to quit program: '; str=input(Prompt, 's')...

거의 5년 전 | 답변 수: 2 | 0

2

답변

질문


Why does rem(Centnum,5) give me an answer that is not zero?
I created the following code in order to isolate canadian coins from the value of a cheque: function [] = Jamiesonlab4 () Cheq...

대략 5년 전 | 답변 수: 2 | 0

2

답변

질문


Why is my code displaying two messages instead of one?
if BirthM == 1 fprintf (fileID,'\n you are %d years %d month and %d days old', BirthY,BirthM,BirthD); elseif Birth...

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


Why is this giving me two outputs instead of one and how do I fix it?
if BirthM == 1 if BirthD == 1 fprintf (fileID,'\n you are %d years %d month and %d day old', BirthY,Birth...

대략 5년 전 | 답변 수: 1 | 0

1

답변

답변 있음
How can I create a function that converts the number of a month to the name of a month?
This question has been solved. I simply had to replace a %d where Month was located in the fprintf with %s. If I do that, the fu...

대략 5년 전 | 0

질문


How can I create a function that converts the number of a month to the name of a month?
So far I have this. curdateTime = clock; Monthnumber=curdateTime(2); Year=curdateTime(1); Day=curdateTime(3); ...

대략 5년 전 | 답변 수: 2 | 0

2

답변