photo

Vaibhav


Last seen: 4 months ago Active since 2023

Followers: 1   Following: 0

Statistics

  • Knowledgeable Level 2
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Create A and B arrays given number of elements N and boundary temperature values
Hi Stephanie You can follow the below steps to build the funtion. Initialize the A matrix and b vector: You will need an N x N...

4 months ago | 0

Answered
Sharing variables between classes
Hi Anastasia One approach is to use class properties and inheritance to manage shared parameters like filename. You can create ...

4 months ago | 0

Answered
How can I save data from for loop?
Hi Majid Code is overwriting the variable w in each iteration of the loop, so only the result from the last iteration is saved....

4 months ago | 0

Answered
how can I simulate distance relay to protect HVDC transmission line and distance relay m.file code in MATLAB
Hi Ahmed You can refer to the below example to plot an R-X (Resistance-Reactive) diagram for a distance relay with Zone 1, Zone...

5 months ago | 0

Answered
hello, I want to convert this code into legendre differential equation, can someone help?
Hi Rajveer To adapt this code for solving the Legendre differential equation, we can remove the user input for the general equa...

6 months ago | 0

Answered
Using intersect to compare more than two values in for loop
Hi Joel Your current strategy effectively identifies combinations where VID1 and VID2 contain different vehicle IDs by utilizin...

6 months ago | 0

Answered
Error using dsolve in system of first order differential equation
Hi Arjun It seems you are facing issues with solving a system of ordinary differential equations (ODEs). Due to the nature of ...

6 months ago | 0

Answered
How can we use a Heaviside function for differential equation having moving load ?
Hi Rajni I understand that you would like to implement the moving load using the Heaviside function in your differential equati...

6 months ago | 0

Answered
Helical trajectory generation using frenet frame
Hi Dhishya To generate the helical trajector using frenet frame. We first define the helical trajectory using the given positio...

6 months ago | 0

Answered
Hessian matrix produced by fmininuc
Hi Luca, You can try a post-optimization step where you adjust the Hessian matrix to ensure its positive definiteness. This adj...

6 months ago | 0

Answered
Color code the cells in excel, using a colorbar
Hi Yekta I understand that you would like to create a loop that checks the values in each cell and then indicates a colour. You...

8 months ago | 0

Answered
ofdm time delay modeling
Hi 제 허 You are heading in the right direction with your approach to simulating time delay and Doppler shift effects in an OFDM ...

8 months ago | 0

Answered
How to change Hybrid beamforming to digital in 'Massive MIMO Hybrid Beamforming' example
Hi Gopika You can consider following the below key steps for transitioning to digital beamforming. Review Hardware and Computa...

8 months ago | 0

Answered
Losses in forecasting _cosine similarity class ,mean square logarithmic error , and huber class
Hi NN Cosine similarity measures the cosine of the angle between two non-zero vectors. MSLE is a variant of the Mean Squared Er...

8 months ago | 0

Answered
Can the software read more precise numbers (such as decimal points)?
Hi bozheng It appears you want to increase the precision of the output values when displaying the data. You can use im2double t...

8 months ago | 1

| accepted

Answered
How to make 3-mass-spring coupled oscillator system?
Hi 현호 이 To extend the code for a system of two coupled oscillators to a system of three coupled oscillators, we need to adjust ...

8 months ago | 0

Answered
Writing a variable to a netcdf
Hi Daneisha The error message indicates that the size of the data being written (div2) does not match the expected size based o...

8 months ago | 0

Answered
while executing teachers phase of TLBO algorithm i am getting the following error, please rectify my mistake (Index in position 1 exceeds array bounds (must not exceed 1)).
Hi Venkatesh The issue lies in the loop where you are updating the sno array. Specifically, the condition (i == sno(i, 1)) is c...

8 months ago | 0

Answered
Multi-Parameter Curve Fitting --- How to use lsqcurvefit ?
Hi Siwei The error is due to lsqcurvefit expecting a function handle as its first input. Here is a way to modify the code: De...

8 months ago | 0

Answered
Coger los ultimos 4 digitos de cada fila de un string y hacer un string nuevo
Hi flashpode I understand that you want to extract the last four digits from each line (string) and create a new string using t...

8 months ago | 0

Answered
How do I get this code to converge?
Hi Kaydian The issue with the convergence of "theta_hat" to 1 and e to 0 in your code may be due to several factors, including ...

8 months ago | 0

Answered
Error using lsqcurvefit: Function value and YDATA sizes are not equal.
Hi Hannes The issue with "lsqcurvefit" is that the output of function "f" doesn't match the size of the "yfit" data, which is a...

8 months ago | 0

Answered
Select different cameras with a drop down menu
Hi Alicia I understand that you would like to create a dropdown showing all the webcams. You can achieve this using the "uicon...

10 months ago | 0

Answered
Matlab Figure Location in Your Screen
Hi Guillermo I understand that you would like to see the figures on the right side of the screen for every instance. you can a...

10 months ago | 0

Answered
How to plot average power spectra of 5 time series data ?
Hi Duryodhan I understand that you would like to plot average power spectra plot for time series data simultaneously. You can ...

10 months ago | 0

Answered
How do I plot the attractor of Rössler?
Hi Ozge I understand that you would like to plot the attractor of the Rössler system. The Rössler attractor is defined by the ...

10 months ago | 0

Answered
How to substitute value in equation already have
Hi Ahmad To extract the specific condition "(sin(b) == sin(a)^3)" from the result of the "simplify" function and then substitut...

10 months ago | 0

Answered
Labeling both graphs for a priceandvol plot
Hi Brett I understand that you are facing issues in formatting the top graph so that you can label the x/y axis. When you use ...

10 months ago | 0

Answered
Error Control in a matrix
Hi Onurcan I understand that you are trying to implement an iterative method to solve a matrix equation, and you want to stop t...

10 months ago | 0

Answered
how to change the scale on the y-axis to a double log sclae?
Hi Chencho The Gumbel scale for the y-axis involves transforming the cumulative probabilities p to Ln(-Ln(1-p)). Here's an app...

10 months ago | 0

Load more