photo

Zachary Holmes


2015년부터 활동

Followers: 0   Following: 0

통계

MATLAB Answers

21 질문
0 답변

순위
157,381
of 300,765

평판
0

참여
21 질문
0 답변

답변 채택
9.52%

획득한 표
0

순위
 of 21,084

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 170,941

참여
0 문제
0 답안

점수
0

배지 수
0

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • Thankful Level 1

배지 보기

Feeds

보기 기준

질문


Converting arrayfun to loop
So in this code, function cipher_text = vigenere_cipher(origionalText,key) Array = Operator; key = lower(key)...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Is there a function for inverting the 'reshape' command?
For my rail fence cipher, i obtain the correct output. But am wondering if there is a simple command to decipher the output? ...

9년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Rail Fence Encryption function
Just wondering how i would do a rail fence encryption function. Unsure on the process. for an understanding of the code plea...

9년 초과 전 | 답변 수: 1 | 0

1

답변

질문


write a Matlab script that asks a group of up to 40 members to enter their height (in cm) and their weight (in kg).
It should work like this: Prompt the user to enter the two values. • Read in the input from the user, if any of the input valu...

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

1

답변

질문


Geometric series that halves but prints first 10 elements i.e. 1/2,1/4....,1/1028
My solution is: for i=1:10 GS(i)=1/(2)^2; fprintf('GS is: ',GS(i)) end however it only prints 1/4. Ho...

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

2

답변

질문


Hey People :) Im trying to using a for loop to create and print an array of a Geometric Serise that stores the first 10 terms of the sequence that halves each time i.e. {1/2, 1/4, 1/8, 1/16, ... 1/1024 }
My method obviously is to use a for loop but my problem is printing the array. Could somebody please write a script to help m...

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

2

답변

질문


Hey people :) How would i write a Matlab script that asks a group of up to 40 members to enter their height (in cm) and their weight (in kg)?
i have attempted the question but i haven't made any progress. My approach was to use a for loop which looped through entrie...

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

2

답변

질문


Briefly explain two main differences between writing MATLAB code as a user-defined function compared with just writing a script file?
So im not sure about this one. Is it to do with the different input streams of a script to a function? Please help thanks!!...

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

1

답변

질문


So i Know how logical indexing is converted to loops, however this one gets me. Could some one please help!!
So the Question is: Write MATLAB code using an iterative (or programming) approach to repli- cate the calculation done in the s...

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

1

답변

질문


Am i correct with my conversion of a Logical indexing to a for loop?
Logical indexing is: T ( T > 10) = 10; My Loop is: for (T>10) T = 10? Also how could i do a while loop? ...

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

2

답변

질문


Write MATLAB code to create and print a vector GS that stores the first 10 terms of the geometric sequence that halves each time: {1/2, 1/4, 1/8, 1/16, ... 1/1024 }
this is what i have done but it is wrong Initial=input('Enter initial value: ') for i =1:10 y(i)=(Initial)*(0.5) ...

대략 10년 전 | 답변 수: 3 | 0

3

답변

질문


The initialisation of this matrix which the colon operator
if my matrix is: B = [ 0 4 8 12 16 20 24 28 32 36 40] would the correct initialisation be: B=0:4:20??

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

1

답변

질문


I'm confused to how this conversion works for a for to while loop
If the for loop is for i=2:3:20 disp(i); end Would the while loop be: i=2 while (i<20)...

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

1

답변

질문


For loop to while loop
Re-write this code so that it uses while-loop instead of the for-loofor i=2:3:20 disp(i); end

대략 10년 전 | 답변 수: 0 | 0

0

답변

질문


User defined compared to script file
Briefly explain two main differences between writing MATLAB code as a user-defined function compared with just writing a script ...

대략 10년 전 | 답변 수: 0 | 0

0

답변

질문


Matlab Vs C programming
What happens if you run a Matlab program that indexes values beyond the end of an array? What happens if you index beyond the en...

대략 10년 전 | 답변 수: 0 | 0

0

답변

질문


Initialising an array in matlab
use the colon operator (:) to initialise array B to the value shown below. B = [ 0 4 8 12 16 20 24 28 32 36 40]

대략 10년 전 | 답변 수: 0 | 0

0

답변

질문


Logical indexing to Loop
Given a vector T, write a loop in Matlab that is equivalent to the following command? T ( T > 10) = 10;

대략 10년 전 | 답변 수: 0 | 0

0

답변

질문


Hey people, how would you solve this?
int temp, values[6] = {3, 4, 5, 1, 2, 8}; temp = *(values + 2);

대략 10년 전 | 답변 수: 0 | 0

0

답변

질문


Not Matlab, But C, Hope you can still help!!
What is the value of temp after executing the code below? int temp, values[6] = {3, 4, 5, 1, 2, 8}; temp = *(values + 2)

대략 10년 전 | 답변 수: 0 | 0

0

답변

질문


Hey guys! I need to find the low points
(a) You are to write a Matlab function called findLowPoints. The function takes in one parameter: a vector of real numbers (sup...

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

2

답변