Community Profile

photo

Kunal Kandhari

MathWorks

Last seen: 3 days ago Active since 2021

Statistics

All
  • Knowledgeable Level 3
  • 3 Month Streak
  • First Answer
  • Promoter
  • Solver

View badges

Content Feed

View by

Answered
How to add CLEAR, PRESET terminals in J-K FLIP FLOP
If you want to create a MOD-3 counter using J-K flip-flops in Simulink and as there is no direct CLR (Clear) or PR (Preset) port...

7 months ago | 0

Answered
passing filenames to a dos command
To pass the filenames to the dos command, you need to properly construct the command string to include the file names. Here's h...

7 months ago | 0

Answered
How to Improve the image quality
Hi Abu, If you plan to include the graph in a LaTeX document, using vector-based formats like EPS or PDF is recommended. Thes...

8 months ago | 0

Answered
How to specify fin length in heatsink block?
In Simulink's Heat Sink block, the "depth" parameter typically refers to the thickness or height of the heat sink, not the lengt...

8 months ago | 0

Answered
i am tring to input different z values to get different B using matrix manipulation. just having trouble using for loop
Code seems to be working! Can you please elaborate what error you're getting?

1 year ago | 0

Answered
Remove Whitespace & Text From Cell
Hi, You can make use of strrep: Find and replace substrings function

1 year ago | 0

Answered
How to measure elapsed time in hh:mm:ss?
Hi you can use of seconds function: tic; s = seconds(toc/86400); s.Format = 'hh:mm:ss' Hope this helps!

1 year ago | 0

Answered
How to plot graph In Simulink model with help of MatLab fUnction block ?
Hi, You can do this with the help of scope block You can read more about it using following resources: SCOPE Display signals ...

1 year ago | 0

Answered
Deactivate Matlab on a dead computer
Hi, you can go through following posts to solve your query: How can I deactivate MATLAB on a machine I cannot access? Deactiva...

1 year ago | 1

Answered
Is it possible to add an element to a "sub array"?
Hello Vincent, For an existing cell array stateMeasurements, you can assign a new element to the end using direct indexing. For...

1 year ago | 0

| accepted

Answered
How to import .mat file in MATLAB?
Hi Bidyarani, You can make use of load function to read the .mat file into MATLAB. Below is the sample code for that: filen...

1 year ago | 1

| accepted

Answered
plot a smooth curve
Hi Mohanned, It sounds like you want a kind of interpolation, because "smoothing" usually trims the values of the extreme poi...

1 year ago | 1

Answered
What is the difference between tcpip and tcpclient?
There is a similar post answering the query: Difference between tcpclient and tcpip?

1 year ago | 0

Answered
Other Programs that can execute MATLAB code
Hello Fortia, To my knowledge, you can do run MATLAB code/functions from various programming languages. I have attached releva...

1 year ago | 1

| accepted

Answered
How can I trigger Stateflow's "Arrange Automatically" via the API?
I am not aware of ways to align or distribute blocks programmatically but, starting MATLAB 2018b you can use Simulink.BlockDiagr...

1 year ago | 0

Answered
Does anyone has the codes of the Sobel edge technique?
Hello Albert, I do not have much knowledge in the Sobel Edge Detection Technique. So, I cannot directly help you with your cod...

1 year ago | 0

Answered
i want to need image encryption and decryption algorithm applying process on MATLAB?
Hello Hasnain, I do not have much knowledge in the images encryption or decryption field. So, I cannot directly help you with ...

1 year ago | 0

| accepted

Answered
Simulink Can't Open
This issue could caused by different reasons. To narrow down the root cause of this issue, kindly try the follow workarounds: ...

1 year ago | 0

Answered
How to run two loops simulatenously which share varaibles in MATLAB?
Hi, Not all MATLAB for loops can be converted to parfor. In your this part of code: disp(value) if(value > count) brea...

1 year ago | 0

Answered
Unable to install MATLAB Runtime version 9.8 (R2020a). Need help and guidance on what to do next.
Hi, You are getting this error probably because the downloaded zip is corrupted, Please use following link to download the M...

1 year ago | 0

Answered
Auto Arrange Layout in simulink stuck in ubuntu
Hello Om, You can use the keyboard shortcut for auto arranging which is 'Ctrl+Shift+A'. If you are still facing the issue th...

1 year ago | 0

Answered
writing data of formula
Hi Z = (sin(k)/x_2(s)) * ((cos(phi(k)) + (1j*(sin(phi(k)))))) The variable Z just stores the calculated value in every iterati...

1 year ago | 0

Answered
What is the difference between demod and ammod?
Hi, demod(y,fc,fs,method) demodulates the real carrier signal y with a carrier frequency fc and sample rate fs using the method...

1 year ago | 0

Answered
Error in using join command
Hi, From the error messgae it seems like two columns doesn't have the same data type and you need to convert one of them. Foll...

1 year ago | 0

| accepted

Answered
Videos matlab app designer?
Hi, For converting your program to app you can refer the following video: Getting Started with App Designer

1 year ago | 0

| accepted

Answered
Array indicates must be positive integers or logical values
Hi, Matlab Array indices start from 1. Since you are using taking h as input and runnng loop till h-1 so both of following doe...

1 year ago | 0

Answered
Which Matlab application, can be used for Unmanned Air Vehicle (UAV) communication channel calculations?
Hi, for Unmanned Air Vehicle (UAV) relates tasks, you will be requiring UAV Toolbox, which you can install using the following l...

1 year ago | 0

| accepted

Answered
Does the appdesigner UI can display satelliteScenarioViewer?
There is currently no way to embed the Satellite Viewer into an App Designer app. The Satellite Viewer does not have the parent ...

1 year ago | 0

Answered
SPM12 GUI slow on macOS 12.5
Hi please download the JetBrains version of JRE using the archive of JetBrains: https://www.jetbrains.com/idea/download/other.ht...

1 year ago | 0

Answered
how to read datetime from a time server?
Hi, please see the similar articles to get the datetime from servers/online: Using NTP protocol: get today's date online via Ma...

1 year ago | 0

Load more