Community Profile

photo

ARAH MIZORI


Last seen: mer än 2 år ago Active since 2021

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


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

mer än 2 år ago | 1 answer | 0

1

answer

Question


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

mer än 2 år ago | 1 answer | 0

1

answer

Question


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

mer än 2 år ago | 1 answer | 0

1

answer

Question


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

mer än 2 år ago | 0 answers | 0

0

answers

Question


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

mer än 2 år ago | 1 answer | 0

1

answer

Question


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

mer än 2 år ago | 0 answers | 0

0

answers

Question


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

mer än 2 år ago | 3 answers | 0

3

answers

Question


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

mer än 2 år ago | 1 answer | 0

1

answer