Community Profile

photo

ARAH MIZORI


Last seen: oltre 2 anni fa Attivo dal 2021

Statistiche

  • Thankful Level 3

Visualizza badge

Content Feed

Visto da

Domanda


How can I write a magic(5) matrix to a text file with special delimiters?
I want to a matrix in txt for with the delimeter %%%

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How can I run this script and only create folders with files in it without having an additional file outside the folder?
clc clear close all % start timer start = tic; % input n and m n = input('\n How many folders would you like m...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


I want to find the inverse of my function 'mag' and plot it as 'mag1'
clc clear close all subplot(2,1,1); theta = 0:0.01:2*pi; mag = sin(3*theta); polarplot(mag) title('Fan-Blade Polar Plot')...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How can I make a variable equal a script in Matlab
I want to make this script: c = 4500:30:7500; first = 0:150; second = 150:250; third = 250:325; x = 0.2*first; y = c...

oltre 2 anni fa | 0 risposte | 0

0

risposte

Domanda


How do I only display the 5 answers in the command window once?
function [SA]=equTriPrismSurfArea(s,h) SA = ((sqrt(3)./2) .* s.^2 + 3.*s.*h); end s = [1 2 3 4 5]; h = [1 2 3 4 5]; ...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Domanda


How do I only result in 5 answers (I want the matrix to times 1 by 1 and 2 by 2 and 3 by 3 etc. not 1 by 1 and 1 by 2 and 1 by 3 etc.)
s = 1; s1 = input('Enter the number of columns : '); h = 1; h1 = input('Enter the number of columns : '); for p ...

oltre 2 anni fa | 0 risposte | 0

0

risposte

Domanda


Why do I receive Not enough input arguments?
function [SA]=equTriPrismSurfArea(s,h) SA=((sqrt(3)/2)*(s^2))+(3*s*h); s = 1; h = 1; for i = 1:5 ...

oltre 2 anni fa | 3 risposte | 0

3

risposte

Domanda


Why doesn't my script work? It comes back with Error: File: equTriPrismSurfArea.m Line: 6 Column: 1 This statement is not inside any function.
function [SA]=equTriPrismSurfArea(s,h) SA=((sqrt(3)/2)*(s^2))+(3*s*h); end s = [1 2 3 4 5]; h = [1 2 3 4 5]; for i...

oltre 2 anni fa | 1 risposta | 0

1

risposta