Community Profile

# Chetan Bhavsar

Last seen: 3 días hace Con actividad desde 2017

Programming Languages:
Python, C, MATLAB

All

Ver insignias

#### Content Feed

Ver por

Respondida
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....

alrededor de 2 meses hace | 0

Respondida
How do I remove quotes from all values in a CSV data?
data = csvread('myfile.csv'); data = strrep(data, '"', '');

3 meses hace | 0

Respondida
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 meses hace | 0

Respondida

3 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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]...

3 meses hace | 0

Respondida
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...

3 meses hace | 1

Respondida
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...

3 meses hace | 0

Respondida
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...

3 meses hace | 0

Respondida
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...

3 meses hace | 0

Respondida
Matlab Coder error : converting datetime Format error
Can you try this once d1 = datestr(datetime, 'yyyymmdd')

3 meses hace | 0

Respondida
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 ...

3 meses hace | 1

Respondida
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...

3 meses hace | 0

Respondida
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 ...

3 meses hace | 0

Respondida
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)={[...

3 meses hace | 0

Respondida
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); ...

3 meses hace | 0

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

3 meses hace | 0

Respondida
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...

3 meses hace | 0

Respondida
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...

3 meses hace | 2

Respondida
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...

3 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 1

Respondida
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 meses hace | 1

Pregunta

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 meses hace | 1 respuesta | 0

### 1

respuesta

Respondida
How 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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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...

más de 1 año hace | 0

Respondida
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...

más de 1 año hace | 0

Respondida
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...

más de 1 año hace | 0