Hassaan
Embedded Systems Engineer | Technical Services Consultant | Freelancer | Simulation Expert | Freelancer on Upwork, Fiverr. Our team is well-versed in a multitude of programming languages, platforms, and technologies, focused on transforming your ideas into reality. Whether you're a startup, a seasoned business, or an individual with a unique project, we can provide tailored solutions to meet your specific needs. We are excited to collaborate with you and bring your innovative ideas to life. For more information, project inquiries, or to schedule a consultation, please do not hesitate to contact us.
Python, C++, C, C#, Javascript, Go, MATLAB, VHDL
Spoken Languages:
English, Hindi
Pronouns:
He/him
Professional Interests:
Simulation and Analysis, Simulation, Tuning, and Visualization, Electrical and Computer Engineering, Embedded Systems, Technical Services and Consulting
Statistics
RANK
116
of 300,331
REPUTATION
1,082
CONTRIBUTIONS
0 Questions
510 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
153
RANK
19,780 of 20,920
REPUTATION
0
AVERAGE RATING
0.00
CONTRIBUTIONS
1 File
DOWNLOADS
3
ALL TIME DOWNLOADS
3
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Magnitude Plot Incorrect Frequency
% Time step dt = 0.001; % Time vector t = -0.5 : dt : 0.5; % Define the signal: x1 = 2 cos(2π·20t) x1 = 2 * cos(2*pi*...
7 months ago | 1
Unable to create Bode plot of H(s)=(s+10)/(s(s+5)^2)
% Define numerator and denominator num = [1 10]; den = [1 10 25 0]; % Create the transfer function sys = tf(num, den); ...
10 months ago | 0
| accepted
How to overwrite my data everytime I run my code?
% Your data table data = table(...); % Replace with your actual data % Delete the existing file (if it exists) if exist('...
1 year ago | 0
| accepted
How do I save the answers from a for loop that solved an equation symbolically?
T_c = 33.145; % critical temperature of hydrogen (K) P_c = 1.3e6; % critical pressure (Pa) R = 8.314472; % uni...
1 year ago | 0
Is there a Matlab command to check the expiration date of my license?
For a more direct method that works in most cases: Open MATLAB. Go to the Home tab. Click on Help > Licensing > Manage Licens...
1 year ago | 0
MATLAB GUI does not finish execution when called from another MATLAB based GUI.
Few of the possible debugging steps may help: Check File Permissions: Ensure the save directory has the necessary permissio...
1 year ago | 0
| accepted
How do I construct matrices of multiple variables and plot a graph
% Define the time span and initial conditions tspan = [0 3]; z0 = [100; 0]; % Initial conditions for x and y, combined into a...
1 year ago | 1
| accepted
Random Binary Bits Generation
Generating random binary sequences with consistently high P-values (>0.95) across all 16 NIST tests is very challenging due to t...
1 year ago | 0
tcpclient objects are not supported by icdevice. Hardware interface object must be a serial, tcpip, visa, or gpib object.
Continue Using tcpip: Since it hasn't been removed yet, you can continue to use tcpip until MathWorks provides a clear update or...
1 year ago | 0
Problem of rotation of surface on xy plane
clear all; close all; clc; % Load your point cloud data load('xyz_c1p1'); % Assuming 'xyz_c1p1' is in the format [X, Y, Z]...
1 year ago | 0
MATLAB program to split a given matrix A into two matrices B & C such that B+C=A.
% Given matrix A A = [1 2 2 4; 2 4 3 0; 8 4 0 5; -3 4 5 0]; % Find the non-zero elements and their indices [rows, cols, val...
1 year ago | 0
How to better graphically represent this data?
3D Scatter Plot with Color Coding % Example data R1 = rand(100, 1) * 100; R2 = rand(100, 1) * 100; R3 = rand(100, 1) * 100; ...
1 year ago | 0
Laplacian sharpening filter in frequency domain
clear; close all; clc; % Read and convert the image a = imread('moon.tif'); a = im2double(a); % Display the input image ...
1 year ago | 0
Difference between fft and dsphdl.FFT.
The main differences between fft and dsphdl.FFT in MATLAB are: Context: fft: General-purpose function for computing the FFT in...
1 year ago | 1
| accepted
plotting half an ellipse, a linear line and the interceptions between
% Parameters p0 = 400; % Initial p0 value M = 1.5; % Ratio for the ellipse equation % Linear line equation x1 = 400:0.1:60...
1 year ago | 0
Discrete cosine transform for unevenly spaced sample points
% Non-uniformly spaced sample points and corresponding data values x_nonuniform = sort(rand(1, 10) * 10); % Non-uniformly spac...
1 year ago | 0
How to write data from a Cell Array as multiple columns in a text or CSV file?
% Sample 1x2 cell array cellArray = {[1 2 3 4]; [5 6 7 8]}; % Initialize a matrix to store the data from the cell array num...
1 year ago | 0
How to iterate over data sets?
An initial idea adjust as per your data format and requirements. Better to share your .csv file. % Load data from the CSV file...
1 year ago | 0
I need help combining two sine waves
f = 1000; % Frequency of sine wave in Hz n = 10; % Number of periods to generate T = 1 / f; % Period of sine wave in...
1 year ago | 0
Update of a file online
When updating a file online using ForDriveConnector, Matlab Online may not immediately reflect the changes due to synchronizatio...
1 year ago | 0
Fill confidence band hexadecimal color
% Define the hexadecimal color hexColor = '#7E2F8E'; % Convert hex color to RGB triplet rgbColor = sscanf(hexColor(2:end), ...
1 year ago | 1
Python Module not found when call the python function using Matlab
1. Verify Python Environment in PyCharm Ensure that you know the exact Python interpreter and environment PyCharm is using wher...
1 year ago | 0
Apply 2-D logical mask to obtain masked third dimension values in 3-D array
% Define the 2D mask and 3D array with NaNs BW = logical([0,0,1; 0,1,1; 1,1,0; 1,0,0]); A = 9*ones(4,3,3); A(:,:,2) = 8*ones(...
1 year ago | 0
| accepted
Parsing Through HTLM Style .txt File
% Open the file fileID = fopen('your_file.txt', 'r'); if fileID == -1 error('Could not open file'); end % Read the fi...
1 year ago | 0
How do I call Matlab polyfit function from C++?
#include <iostream> #include "MatlabEngine.hpp" #include "MatlabDataArray.hpp" void getXYpoints(double* x, double* y, siz...
1 year ago | 1
Plot intersection between two surfaces and a plane.
A basic idea [other solutions may also exists]: Define the surfaces and the plane: Use the surf command to define the two surf...
1 year ago | 0
tcpclient Sending Nested Strings
An initial idea: % Create the tcpclient object (assuming you have already connected) % t = tcpclient('192.168.1.1', 12345); ...
1 year ago | 0
in y axis i want 10^(-2000). can anyone plz help
Assummed use case may help: clc; clear all; close all; % Generate dummy frequency data f = linspace(0, 1000, 1000); % Frequ...
1 year ago | 0
| accepted
plotting power spectrum density
% Load the data from the .dat files amplitude = load('amplitude.dat'); time = load('time.dat'); % Check if time data is pro...
1 year ago | 0
| accepted
The code doesn't work....
clc; clear all; close all; % Define the function fun = @(t) -0.01953125.*t.^2 + 18.75.*t; % Estimation point and step siz...
1 year ago | 0
| accepted











