Feeds
提问
Why does it say f plot error line 97
I have the equation from ysol is 3*cos(2*x) - 3*exp(-3*x) - 2*sin(2*x) however whenever i plot it using fplot it gives me an er...
8 years 前 | 1 个回答 | 0
1
个回答提问
How to I break out of this loop?
signal = []; fid=fopen('transmission_data.txt'); while 1 tline = fgetl(fid); if ~ischar(tline), ...
9 years 前 | 1 个回答 | 0
1
个回答提问
How do I underline in fprintf?
fprintf( 'Year No Balance(1st Jan) Interest(31st Dec) Total(31st Dec)') I want it to display Year No as underlined...
9 years 前 | 1 个回答 | 0
1
个回答提问
Loops error index dimension?
I'm trying to get my code to let me in put a range. Then in that range tell me how many prime numbers there are and what are the...
9 years 前 | 1 个回答 | 0
1
个回答提问
How do import data?
For this part I have to get data from the first row. Which I know you use fgetl. But what if my data has 4 columns and 5 rows. A...
9 years 前 | 1 个回答 | 0
1
个回答提问
Function changing the display?
if true % code function [ out ] = factorialeq( integer ) if( ~isinteger(integer) || integer < 0) disp('error') ...
9 years 前 | 2 个回答 | 0
2
个回答提问
Writing a function that gives me the elapsed days, when entering the day, month and year as inputs.
Write a function that takes the day, month and year as input and returns the number of elapsed days? function num_days = E...
9 years 前 | 0 个回答 | 0
0
个回答提问
How to design a function that compute the factorial of an integer. The function outputs an error message if user enter a non negative value?
function [ out ] = factorialeq( integer ) out=factorial(integer); if( ~isreal(integer) || integer < 0) erro...
9 years 前 | 2 个回答 | 0
