# Hassaan

### Technical Services Consultant | Simulation Expert | Upwork | Fiverr

Followers: 0 Following: 0

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.

**Programming Languages:**

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**128**

of 289,935

REPUTATION**926**

CONTRIBUTIONS

**0** Questions

**469** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**113**

RANK**18,768** of 19,611

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

Accessing a vector form a matrix

% Dummy data for vectors x1, x2, and x3 x1 = sin(linspace(0, 2*pi, 100)); % Example data for x1 (a sine wave) x2 = cos(linspa...

2 days ago | 0

how to solve my problem that i write

clc; clear; close all; % Constants and parameters lambda_sh = 0.775e-6; % SH wavelength nlithium_sh = 2.1784; lambda_ff ...

2 days ago | 0

Find the variable inside the LCM argument

% Known values of B and nrt B = 120; % Example value for B nrt = 8; % Example value for nrt % Find all divisors of B div...

2 days ago | 0

How to match matrix elements for a condition?

Assuming a 1-dimensional array. Will check for sums of three consecutive elements that are close to a given value (target_sum) w...

2 days ago | 1

using if else statements to assign a value to a variable based on the value of a specific element in a matrix

An initial idea: % Example matrix M M = randn(10,10); % A 10x10 matrix with random values % Initialize matrix p with the s...

5 days ago | 0

| accepted

How to draw a streamline diagram in a circular area？

% Parameters radius = 2; % Radius of the circular area x = linspace(-2.5, 2.5, 100); y = linspace(-2.5, 2.5, 100); [X, Y] = ...

5 days ago | 0

| accepted

Given the coordinates (x, y) of a center of a circle and it's radius, write a program which will determine whether a point lies inside the circle, on the circle or outside

% Define the coordinates of the center of the circle xc = 0; yc = 0; % Define the coordinates of the point to check xp = 3...

6 days ago | 0

How can I illustrate a sinusoidal plane wave in MATLAB?

% Define the domain x = linspace(-2*pi, 2*pi, 100); z = linspace(-2, 2, 20); [X, Z] = meshgrid(x, z); % Define the wave y...

7 days ago | 1

Why is my code not working?

f = @(final) average_f(final) - 65; % Define a function that should be zero initial_estimate = 70; % Initial estimate for fso...

8 days ago | 0

Find the number of regions and calculate the area of each region

clear; format short e; rng('shuffle'); %% Parameters export = 1; % Whether or not to save data for ABAQUS N = 1000; % nu...

9 days ago | 0

How to append Nested cell array to .csv file

@Karthik One of many possible approaches: % Example nested cell array nestedCell = { {1, 2, 3}, 'Text'; 4, {5, 'More...

9 days ago | 0

Why clearing memmapfile is taking too long?

function time = ReadDataStoreMapTime(filename) tic; chunksize = 2.5*1024*1024*1024; ds = fileDatastore(filename, ...

9 days ago | 0

Printing sentences using cell arrays

% Define cell arrays Names = {'Harry', 'Xavier', 'Sue'}; Verbs = {'loves', 'eats', 'throws'}; Nouns = {'baseballs', 'rocks', ...

10 days ago | 0

| accepted

can someone please assist to make the square wave plot at 50Hz

fs = 1000; % Sampling frequency f = 50; % Frequency of the square wave % Time vector from 0 to 1 second, with step size o...

14 days ago | 0

MATLAB 'imread' function error.

This problem can arise due to several reasons, including path conflicts, shadowing issues, or a corrupted MATLAB installation. H...

15 days ago | 0

| accepted

MATLAB coder has been running for a week

It is highly unusual for MATLAB Coder to take this long in the type inference stage. This extended processing time is not normal...

16 days ago | 0

| accepted

Combining multiple rows from one matrix to another matrix

% Define the original matrix P P = [1 2 3 4 5; 6 7 8 9 10; 11 12 13 14 15; 16 17 18 19 20; 21 22 23 24 ...

16 days ago | 0

plotting time as legend values with filter as x and amplitude as y

close all; clear all; clc; % Initialization fs = 20e3; % Sampling frequency numFilts = 32; % Number of filters CenterFre...

16 days ago | 0

HTTP Request returns partial data

1. Server Closes Connection Prematurely The server might be closing the connection before all the intended data has been sent, ...

16 days ago | 0

Cone containing set of points

% Define the opening angle theta (in radians), and two points theta = pi / 6; % Example value for theta point1 = [1, 2, 3]; % ...

16 days ago | 1

| accepted

Anybody can help me to plot a sand rose diagram?

% Your DP values for each of the 16 directional bins dp_values = [/* your DP values here */]; % Your RDD value rdd_value = ...

18 days ago | 1

use rgb to caculate three brown ratio

image = imread('sample.jpeg'); % Load the image image_double = im2double(image); % Convert to double precision floating point ...

18 days ago | 0

Estimate the psd of a signal

% Constants and Signal Definition Fs = 1000; % Sampling frequency in Hz duracion = 1; % Duration in seconds N = Fs * duracion...

19 days ago | 0

| accepted

normal distributed numbers around a specific value

Using normrnd (if you have the Statistics and Machine Learning Toolbox) % Parameters mu = 50; % Mean (the specific value aroun...

20 days ago | 0

| accepted

How can I analyze the sum and product together in a code?

An initial Idea: % Assuming the Excel file is named 'alpha_values.xlsx' and the values are in the first column alpha = xlsread...

21 days ago | 0

How to multiply matrices randomly?

% Parameters d1 = 258e-9; % meters n1 = 1.45; d2 = 163e-9; % meters n2 = 2.3; totalLength = 200e-6; % meters layerCount = ...

23 days ago | 0

| accepted

Fourier Series Curve Fitting and giving its coefficient with respect to eqaution

An initial idea: % Corrected initialization of x and y arrays with multiline syntax x = [0.015404238, 0.027389034, 0.03937383,...

27 days ago | 0

str2num sending figures to printer, is there an alternative?

% Example text line that might be read from your file textLine = 'The result is 42 and not 43.5 or any other number like -1.23e...

29 days ago | 0

index exceeds array bounds

load('data') % Assuming 'data' is your matrix % Find rows with any zero element rowsWithZero = any(data == 0, 2); % Remo...

30 days ago | 0

how can I plot

sigma_0 = 2; r = 1:0.1:2; % Range of r theta_deg = [0, 90, 180, 270]; % Angles in degrees theta_rad = deg2rad(theta_deg); % C...

30 days ago | 0