**Programming Languages:**

Python, C, MATLAB

**Statistics**

RANK**363**

of 276,243

REPUTATION**206**

CONTRIBUTIONS

**3** Questions

**72** Answers

ANSWER ACCEPTANCE **
66.67%
**

VOTES RECEIVED**14**

RANK

of 18,595

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**1** Public Channel

AVERAGE RATING**30**

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Wrong start of the curve in double integral

n = 0.1 ; t = 1; r = 1; s = 0:0.01:1; b=sqrt(2*t)/r; fun = @(x,z,k) exp(-2.*n.*t.*x.^2).*exp(-z.^2).*(erf(((z+x.*k./r)./(2....

2 months ago | 0

| accepted

How do I remove quotes from all values in a CSV data?

data = csvread('myfile.csv'); data = strrep(data, '"', '');

3 months ago | 0

What is the meaning of the following expression

This expression appears to be assigning a value to an element in an array. The array is called FirstBand and it is being indexe...

3 months ago | 0

Add simscape blocks programmatically

Can you try this way by using gcb https://in.mathworks.com/matlabcentral/answers/93613-why-do-i-receive-error-when-using-add_...

3 months ago | 0

How to delete multiple of the Value in Array

A = [1 2 3 4 5 6 7 8 9 10] % Initial array A(mod(A,3) == 0) = [] % Delete elements that are multiples of 3

3 months ago | 0

| accepted

How to convert data into a Rainflow histogram/table

% Sample time-history data with 3600 values data = rand(1,3600); % Convert the raw data into rainflow cycles [cycles,mn,mx]...

4 months ago | 0

MATLAB error handling of SIMULINK (sim) due to external component

https://www.mathworks.com/help/simulink/slref/tofile.html One way to handle this problem is to use the "To File" block in Simul...

4 months ago | 1

| accepted

How to draw tangent plot?

t = 0:0.01:2*pi; y = tan(t); plot(t,y) xlabel('x') ylabel('y=tan') axis([0 2*pi -5 5]) % set the x-axis to go from 0 to 2*p...

4 months ago | 0

how to plot a multidimensional matrix in matlab

% Create dummy temperature data with size p-by-p-by-p p = 10; T = rand(p,p,p); % Create x, y, and z data for the temperatur...

4 months ago | 0

how to take every fifth frame and then subtract it from the previous frame and then do the concatenation

In MATLAB, you can use the opticalFlow function to compute the optical flow between two consecutive frames of a video. This func...

4 months ago | 0

Matlab Coder error : converting datetime Format error

Can you try this once d1 = datestr(datetime, 'yyyymmdd')

4 months ago | 0

Battery SOC Using voltage Method

To estimate the battery state of charge (SOC) using the voltage method in MATLAB, you can use the following steps: Measure the ...

4 months ago | 1

| accepted

Sensitivity study in cftool

To perform a sensitivity study of solved coefficients in the cftool app, you can follow these steps: Open the cftool app and lo...

4 months ago | 0

Simulated height of Faraday waves remains constant

To modify the code to correctly simulate the time-varying nature of Faraday waves, you will need to update the surface height ...

4 months ago | 0

| accepted

Merge nx3 double matrices present within a 3x1 cell

a=randi(100,157,2); b=randi(200,189,2); c=randi(300,183,2); mat={a;b;c}; for i=1:size(mat,1) if i==1 aaa(i)={[...

4 months ago | 0

| accepted

Bin data into equally spaced intervals

% Import data from Excel sheet data = xlsread('data.xlsx'); % Preallocate array for binned data binned_data = zeros(24,1); ...

4 months ago | 0

| accepted

how to download pdf files from website?

system('wget -r -A.pdf https://smallpdf.com/blog/sample-pdf')

4 months ago | 0

How to have different threshold for different images?

In general, the threshold used in edge detection algorithms plays a critical role in determining the quality of the detected edg...

4 months ago | 0

| accepted

N dimensional multiplication on gpu arrays

It is possible to improve the performance of the code you have provided by using the built-in element-wise multiplication operat...

4 months ago | 2

| accepted

Feature importance of a polynomial function

To calculate the importance of each feature in the equation you provided, you can use the coefficients of the equation to determ...

4 months ago | 0

How can I generate a pseudo random column vector V

% Define the minimum and maximum values of L L_min = 10; L_max = 100; % Generate a random integer value for L within the de...

4 months ago | 0

| accepted

i want to get bex(j), bin(j) as gex(i), gin(i), how to do that and insert another for loop inside that code

Rmin = 1e5 Rmax = 1e6 Gmin = 1.0/Rmax Gmax = 1.0/Rmin X = table2array(in_mn) y=w{1} b= w{2} %nitialize gex and gin to ...

4 months ago | 0

| accepted

How do I get the names of all the enumerations in a class?

have you tried this? https://in.mathworks.com/help/matlab/ref/enumeration.html enumeration WeekDays

4 months ago | 1

| accepted

Error using dbscan. Expected X to be nonempty

Error You are getting Expected X to be nonempty Because of variable interpts is empty. and it is empty because it is neve...

4 months ago | 1

| accepted

Question

Command Window output weird on Mac OS

I am using Matlab 2021b on Mac OS and command window seems to be centre aligned its looking weird any way to fix it properly lik...

4 months ago | 1 answer | 0

### 1

answerHow to crop out the edge tick marks on graph image?

Is this what you are looking for @Trong Link , Removing Tickdir? t=0:0.01:1; f=1; x=sin(2*pi*f*t); figure(1); plot(t,x)...

4 months ago | 0

Increase time with for loop

You want like this or you want array? x=0; for i=1:16 x=x+0.5 end y={}; x=0; for i=1:16 x=x+0.5; y = [y x]...

12 months ago | 0

| accepted

error in indexing mode

V= [ 1.0350 0.9710 0.9680] [numRows,numCols] = size(V) N=size(V) Working fine. You have some other query can you elabor...

1 year ago | 0

How to encrypt the .m source code.

So here are the some links from help https://in.mathworks.com/help/matlab/matlab_prog/protect-your-source-code.html You can l...

1 year ago | 0

How to Draw between specific points

The three points you want to draw is (6,20),(8,30),(10,40) ? or you want something else? x = [ 6 8 10 ]; y = [ 20 30 40 ]; p...

1 year ago | 0