photo

Uday Pradhan

Last seen: 8 days ago Active since 2020

Followers: 0   Following: 0

Message

Statistics

All
  • 6 Month Streak
  • Revival Level 2
  • Knowledgeable Level 4
  • Solver
  • First Answer

View badges

Feeds

View by

Answered
HOW CAN I CHANGE THE COLOR OF DIFFERENT DATA?
Hi Pul, If you would like to color the vertical bars in an errorbar plot individually, you could try replicating the errorbar p...

3 years ago | 0

| accepted

Answered
View the segmented object and corresponding 3D bounding box together
Hi Vinit, You could use the drawcuboid function to construct your cuboidal bounding box around a volume. I am attaching an exam...

3 years ago | 0

| accepted

Answered
How to read row1 as datetime
Hi, To read the first row in the specified format, you could try: t = readtable('yourDataOnlyRow1','Format','%s %s %{mm/dd/yyy...

3 years ago | 0

| accepted

Answered
Input do not consider first X entries Simulink
Hi, Please check the model layout below: The "Counter" subsystem counts the number of iterations, then I have used an if-els...

3 years ago | 1

| accepted

Answered
What exactly is stored in the tdata.T parameter of the output of maketform?
Hi, An affine transformation is described in mathematical form as: Here, [x y] are the transformed coordinates while [w z] a...

3 years ago | 0

| accepted

Answered
How can I clean the data that bwconncomp provides?
Hi Hannah, I believe you could uitilize the PixelIdxList information that bwconncomp outputs as part of a struct. This list is ...

3 years ago | 0

| accepted

Answered
How can i create a table and store random values in each entry?
Hi, You could try the following: f = figure; uit = uitable(f,'Data',randi(100,10,3)); %Creates a 10 by 3 table with random en...

3 years ago | 0

Answered
Simulink can not be Opened
Hi, I understand that you are unable to open Simulink and it is unresponsive. The initial troubleshooting steps you can attempt...

3 years ago | 0

Answered
Inverse STFT discrete window sample times only. How to fix error of current continuous sample time.
Hi, Please check the following answer https://www.mathworks.com/matlabcentral/answers/491971-all-sample-times-for-this-block-mu...

3 years ago | 1

Answered
Plot not showing up for last section when publishing
Hello, The issue is not reproducible at my end. Could you share a snippet of code that reproduces the issue at your end? Also, ...

3 years ago | 0

Answered
Unable to resolve the name dsp.FIRFilter.
Hi Veeresh, The dsp.FIRFilter system object is part of the DSP System toolbox which is a separate licensed product. You can how...

3 years ago | 0

Answered
Laplace–Stieltjes transform
Hello, Please visit the following page to learn more about making a feature request : https://www.mathworks.com/matlabcentral/a...

3 years ago | 0

| accepted

Answered
Error using matlabfunction with piecewise functions and intervals
Hi Nicolas, Referring to the documentation for matlabFunction, one can see that there exists an argument called "Optimize". By ...

3 years ago | 1

| accepted

Answered
How make symbolic variables to a power equal to zero
Hello, I believe the below information will be helpful: syms t; sympol = 10 * t^2; deg = numel(sym2poly(sympol)) - 1; %sym2...

3 years ago | 0

Answered
Store data tips of Uiaxes into array
Hi, Please check the following answer : How can I select multiple points using the Data Cursor and export the coordinates to th...

3 years ago | 0

Answered
combining 2 3D Plot
Hi, Please try the below code to achieve what you have asked for: figure [X,Y,Z] = sphere(16); x = [0.5*X(:); 0.75*X(:); X(:...

3 years ago | 0

Answered
Combine the hole and its parent boundary extracted from bwboundaries
Hello, It is my understanding that you would like to remove the child-hole objects from the output of "bwboundaries". For this,...

3 years ago | 0

| accepted

Answered
Adding Delay/Jitter to TCP/IP protocol
Hello, If you want to mimic the behaviour of Simulink blocks using a MATLAB script, it might be helpful to look at the underlyi...

3 years ago | 0

Answered
How can I get the instantaneous step size value in variable step solver at a simulink model?
Hi, you can use the "Clock" block in Simulink to get the current simulation time and the "memory" block to store this value for ...

3 years ago | 0

Answered
Live Script does not work
Hi Cagan, If you are a Windows user, please check if this page: Set Locale on Microsoft Windows Platforms, solves your problem....

3 years ago | 0

Answered
Custom object class array initilization within Simulink Matlab Function Block
Hi Michael, According to the documentation for MATLAB Classes for Code generation, creation of arrays of objects is not support...

3 years ago | 0

| accepted

Answered
2 Video Display side by side in a Custom User Interface
Hi, Please check the attached code. It runs the two videos side by side, however the rotation effect is removed. I hope this he...

3 years ago | 0

| accepted

Answered
How do you delete and space characters in Matlab Virtual Keyboard ?
Hi, Just a naive try at what you asked, i hope it helps! function AddLetter(letter) %Called when letter press...

3 years ago | 0

Answered
Trapezoid Rule method errors
Hi, The error you have posted occurs because the integral: trapz(r,B,2) evaluates to 0. This is then used as the dimension ...

3 years ago | 0

Answered
Grouping vector elements that satisfy multiple conditions
Hi, I have written a small script which tries to group the vector A according to the conditions you have established, please go...

3 years ago | 0

Answered
How to see the values of the Parameters defined as variables in the Examples given by Simulink?
Hi, "power" is struct with 7 fields, you can see the values of these fields as such (given that power variable exists in the ba...

3 years ago | 0

| accepted

Answered
imnoise gaussian variance vs normal variance?
Hi, So the formula for adding Gaussian noise to the image by "imnoise" is given by: output = input + sqrt(v)*randn(size(input)...

3 years ago | 0

| accepted

Answered
select bus elements programmatically
Hi, You can select the signals to be passed through the bus selector by using: %Say we want to choose the signals 1 and 2 to p...

3 years ago | 0

| accepted

Answered
Recursive method to get the differential not working.
Hi Hampus, You will need to use the output function handle to evaluate the nth derivative approximation: f = @(x) x^5; df3 = ...

3 years ago | 0

| accepted

Answered
readAprilTag in Simulink for code generation
Hi Alberto, The "readAprilTag" function is currently not supported for code generation. You could use the coder.extrinsic API t...

3 years ago | 0

Load more