% Number of iterations nIter = 100; iterations = 1:nIter; % Simulated execution time data (replace with actual measurements) yourLinear = 0.01 + 0.002*randn(1,nIter); rssvmLinear = 0.025 + 0.002*randn(1,nIter); yourPolynomial = 0.015 + 0.002*randn(1,nIter); rssvmPolynomial = 0.03 + 0.002*randn(1,nIter); yourRBF = 0.012 + 0.002*randn(1,nIter); rssvmRBF = 0.028 + 0.002*randn(1,nIter); % Custom Y-axis ticks yticksCustom = 0.005:0.005:0.035; % === Plot 1: Linear Kernel === figure; plot(iterations, rssvmLinear, 'b-', 'LineWidth', 1.5); hold on; plot(iterations, yourLinear, 'r-', 'LineWidth', 1.5); title('Execution Time - Linear Kernel', 'FontSize', 14); xlabel('Iteration'); ylabel('Time (s)'); legend({'RSSVM', 'Your Model'}, 'Location', 'northeast'); yticks(yticksCustom); ylim([0.005 0.035]); grid on; % === Plot 2: Polynomial Kernel === figure; plot(iterations, rssvmPolynomial, 'b-', 'LineWidth', 1.5); hold on; plot(iterations, yourPolynomial, 'r-', 'LineWidth', 1.5); title('Execution Time - Polynomial Kernel', 'FontSize', 14); xlabel('Iteration'); ylabel('Time (s)'); legend({'RSSVM', 'Your Model'}, 'Location', 'northeast'); yticks(yticksCustom); ylim([0.005 0.035]); grid on; % === Plot 3: RBF Kernel === figure; plot(iterations, rssvmRBF, 'b-', 'LineWidth', 1.5); hold on; plot(iterations, yourRBF, 'r-', 'LineWidth', 1.5); title('Execution Time - RBF Kernel', 'FontSize', 14); xlabel('Iteration'); ylabel('Time (s)'); legend({'RSSVM', 'Your Model'}, 'Location', 'northeast'); yticks(yticksCustom); ylim([0.005 0.035]); grid on;
An Error occurred while handling another error:
yii\web\HeadersAlreadySentException: Headers already sent in  on line 0. in /var/www/html/prof-homepages/vendor/yiisoft/yii2/web/Response.php:366
Stack trace:
#0 /var/www/html/prof-homepages/vendor/yiisoft/yii2/web/Response.php(339): yii\web\Response->sendHeaders()
#1 /var/www/html/prof-homepages/vendor/yiisoft/yii2/web/ErrorHandler.php(136): yii\web\Response->send()
#2 /var/www/html/prof-homepages/vendor/yiisoft/yii2/base/ErrorHandler.php(135): yii\web\ErrorHandler->renderException()
#3 [internal function]: yii\base\ErrorHandler->handleException()
#4 {main}
Previous exception:
yii\web\HeadersAlreadySentException: Headers already sent in  on line 0. in /var/www/html/prof-homepages/vendor/yiisoft/yii2/web/Response.php:366
Stack trace:
#0 /var/www/html/prof-homepages/vendor/yiisoft/yii2/web/Response.php(339): yii\web\Response->sendHeaders()
#1 /var/www/html/prof-homepages/vendor/yiisoft/yii2/base/Application.php(656): yii\web\Response->send()
#2 /var/www/html/prof-homepages/vendor/faravaghi/yii2-filemanager/models/Files.php(696): yii\base\Application->end()
#3 /var/www/html/prof-homepages/vendor/faravaghi/yii2-filemanager/controllers/FilesController.php(484): faravaghi\filemanager\models\Files->getFile()
#4 [internal function]: faravaghi\filemanager\controllers\FilesController->actionGetFile()
#5 /var/www/html/prof-homepages/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#6 /var/www/html/prof-homepages/vendor/yiisoft/yii2/base/Controller.php(180): yii\base\InlineAction->runWithParams()
#7 /var/www/html/prof-homepages/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#8 /var/www/html/prof-homepages/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#9 /var/www/html/prof-homepages/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#10 /var/www/html/prof-homepages/backend/web/index.php(16): yii\base\Application->run()
#11 {main}