Community Profile

photo

Eeshan Mitra

Last seen: 10 days ago Active since 2017

Followers: 0   Following: 0

Message

Statistics

  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

Answered
How to Implement Legacy Code that can be called both in Simulink and MATLAB?
A Test Assessment or Test Sequence block cannot directly call an S-Function. However, if the S-Function has input and output por...

4 months ago | 0

Answered
How to force the test harness to a defined sample time ?
If you would like to specify sample time during harness creation, you can define a PostCreateCallback function to set the sample...

2 years ago | 1

Answered
How do I create a cylinder in the given matrix?
Hello David, If we leave out the specifics of the filter and focus on the matrix sizes, it is not quite clear from the attach...

6 years ago | 1

| accepted

Answered
hot to run error rate calculation programicly
Hi Jack, If you are facing issues saving the bit error rates (BER) for multiple simulation runs, you could use a matrix to sa...

6 years ago | 0

Answered
Tuning PI in a loop
Hi Michael, You can use the <https://www.mathworks.com/help/control/pid-controller-design.html PID Tuner App and similar func...

6 years ago | 0

Answered
Constant values Simulink from M-File?
Hi Michael You can use "set_param" to set the value of a constant block programmatically. You can check out <https://www.math...

6 years ago | 0

| accepted

Answered
Hoping to find the zero of J0(x) in the interval 0 ≤ x ≤ π, we might try the statement 
 z = fzerotx(@besselj,[0 pi],0)
This is legal usage of a function handle, and of fzerotx, but it produces z = 3.1416. Why? 

It depends on how you implement the function "fzerotx" as John points out. I'm assuming it is a custom function you have written...

6 years ago | 0

Answered
2017b download only
This error message might indicate that a process or condition in the your computer's operating environment is causing the connec...

6 years ago | 0

Answered
im2bw finding an alternative
If you do not have access to the Image Processing Toolbox as Geoff commented, you can manually threshold, as described in the fo...

6 years ago | 0

Answered
Simulink 2015b Resize -> make same size
To make blocks the same size in R2015b you can: * Right click on the group of blocks * Click Arrange -> Match Size To zoo...

6 years ago | 0

Answered
Write a function that will receive a character and a positive integer n. It will create and return a cell array with strings of increasing lengths, from 1 to the integer n. It will build the strings with successive characters
You could use the MATLAB functions "double" and "char" for this purpose. Assuming you have already gotten the function to rea...

6 years ago | 1

Answered
Error downloading Simulink Model to Arduino Mega 2560
This appears to be an issue in MATLAB R2015b and the Arduino Support Package. You may try and install the latest support package...

6 years ago | 0

Answered
Help setup mlx90614 in simulink
Refer to the following documentation link that discusses using the Simulink Support Package for Arduino Hardware to configure a...

6 years ago | 0

Answered
Analze running time of simulation
Simulink Profiler adds some overheads in the background to the functions or models being profiled. Since it gives the detailed e...

6 years ago | 0

Answered
Periodogram signal 1 Hz resolution using FFT
Functions that are not supported by codegen can still be run in MATLAB from the generated code when "coder.extrinsic" is include...

6 years ago | 1

| accepted

Answered
How to get bode diagram from slx model.
The frequency response of a digital filter can be plotted using the "freqz" function in the Control System Toolbox. <https:/...

6 years ago | 0

| accepted

Answered
Setting an ODE function solution to a value. In order to find the range of a variable inside the function?
If I understand your question, you wish to calculate input 'U' corresponding to a given 'v', which is the solution to ‘ode23’, i...

7 years ago | 0

Answered
How to import multiple .nc files of different lengths
Depending on the application, and how you want to process the data subsequently, data from matrices of unequal size may be saved...

7 years ago | 0

| accepted

Answered
contour Plot Problems - Multiple wrong lines created
The additional lines at x=[4.33, 4.66, 6.33, 6.66] represent those locations where the values of E are predicted to be 0.02, 0.0...

7 years ago | 0

Answered
Join and handle multiple input (Excel) files together?
If I understood it right, you need to cycle through each of the excel files "Forest_1, Forest_2,...", and compile data in a diff...

7 years ago | 0

| accepted

Answered
How can I transfer variables From matlab code to simulink
What errors do you encounter when using the 'From workspace' block? I assume variables are loaded from the m-file. In additi...

7 years ago | 0