Skip to main content

Posts

Showing posts from March, 2024

Green Living Hub app

  Green Living Hub app Source code for Green Living Hub app, a Flutter application promoting sustainable living and community engagement. Green Living Hub: Sustainable Living App is an innovative and comprehensive Flutter application aimed at fostering sustainable living practices and fostering community engagement. This feature-rich app serves as a digital hub for individuals passionate about environmental conservation, providing a wide array of tools, resources, and interactive features to support and inspire users on their journey towards a greener lifestyle. Flutter code: import 'package:flutter/material.dart'; void main(){   runApp(MyApp()); } class MyApp extends StatelessWidget {   @override   Widget build(BuildContext context) {     return MaterialApp(       debugShowCheckedModeBanner: false,       title: 'GreenLivingHub',       theme: ThemeData(         primarySwatch: Colors.green, ...

Introduction to MATLAB: A Beginner's Guide to Programming

Introduction to MATLAB: A Beginner's Guide to Programming GitHub: https://github.com/Sivatech24/MatLab-Works.git GitHubPage SinWave: x = 0:pi/100:2*pi; y = cos(x); plot(x, y) ylabel('Cosine functions') % Corrected single quotes legend('cos(x)') % Corrected single quotes title('example M-file') % Corrected single quotes axis([0 2*pi -3 3]) Plot: x = 0:0.1:2*pi; y = sin(x); plot(x, y, '--rs', 'LineWidth', 2, ...     'MarkerEdgeColor', 'k', ...     'MarkerFaceColor', 'b', ...     'MarkerSize', 5) Stem: x = 0:0.1:2*pi; y = sin(x); stem(x,y) SubPlot: % Example usage of subplot function x = 0:0.1:2*pi; y1 = sin(x); y2 = cos(x); subplot(2,1,1); % Create a subplot grid of 2 rows and 1 column, and select the first subplot plot(x, y1); title('Sine Function'); subplot(2,1,2); % Select the second subplot plot(x, y2); title('Cosine Function'); SubPlot1: x = 0:0.1:2*pi; y = sin(x); subplot(2, 1, 1); p...