Community Profile

photo

Chetan Bhavsar


Last seen: 5 Tage vor Aktiv seit 2017

Programming Languages:
Python, C, MATLAB

Statistics

All
  • 3 Month Streak
  • Thankful Level 2
  • Knowledgeable Level 4
  • MATLAB Central Treasure Hunt Finisher
  • First Answer
  • Speed Demon
  • Commenter
  • Promoter
  • Solver

Abzeichen anzeigen

Content Feed

Anzeigen nach

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

etwa 2 Monate vor | 0

| akzeptiert

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

3 Monate vor | 0

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

| akzeptiert

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 1

| akzeptiert

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

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

3 Monate vor | 0

Beantwortet
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 Monate vor | 1

| akzeptiert

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

| akzeptiert

Beantwortet
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 Monate vor | 0

| akzeptiert

Beantwortet
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 Monate vor | 0

| akzeptiert

Beantwortet
how to download pdf files from website?
system('wget -r -A.pdf https://smallpdf.com/blog/sample-pdf')

3 Monate vor | 0

Beantwortet
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 Monate vor | 0

| akzeptiert

Beantwortet
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 Monate vor | 2

| akzeptiert

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

| akzeptiert

Beantwortet
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 Monate vor | 0

| akzeptiert

Beantwortet
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 Monate vor | 1

| akzeptiert

Beantwortet
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 Monate vor | 1

| akzeptiert

Frage


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 Monate vor | 1 Antwort | 0

1

Antwort

Beantwortet
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 Monate vor | 0

Beantwortet
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 Monate vor | 0

| akzeptiert

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

mehr als ein Jahr vor | 0

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

mehr als ein Jahr vor | 0

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

mehr als ein Jahr vor | 0

Mehr laden