Community Profile

photo

muhammad usman


Last seen: alrededor de 4 años hace Con actividad desde 2020

Followers: 0   Following: 0

Estadísticas

  • Thankful Level 1
  • First Answer

Ver insignias

Feeds

Ver por

Pregunta


Write a function called draw_constellations that takes no input arguments and returns no output arguments. Instead, it obtains its input via the function ginput.
Write a function called draw_constellations that takes no input arguments and returns no output arguments. Instead, it obtains i...

alrededor de 4 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Caesar's cypher is the simplest encryption algorithm. It adds a fixed value to the ASCII (unicode) value of each character of a text. In other words, it shifts the characters. Decrypting a text is simply shifting it back by the same amount, that is,
function coded = caesar(a,b) coded = char(a+b); c = length(coded); for ii = 1:c if coded(ii) > 126; d = coded(i...

alrededor de 4 años hace | 5 respuestas | 1

5

respuestas

Pregunta


What is wrong with my code ?
function coded = caesar(a,b); x = length(a); y = double(a); for i = 1:x y(i) = y(i) + b; if y(i) > 126; j = y(i)- ...

alrededor de 4 años hace | 0 respuestas | 0

0

respuestas

Respondida
Write a function called holiday that takes two input arguments called month and day; both are scalar integers representing a month (1-12) and a day (1-31). You do not need to check that the input is valid. The function returns a logical true if the s
function H = holiday(month,day); if (month == 1 && day == 1) || (month == 7 && day ==4) || (month == 12 && day == 25) || (month...

alrededor de 4 años hace | 0