photo

Kunal Kandhari


Last seen: 26 days ago Active since 2021

Followers: 0   Following: 0

Statistics

  • Knowledgeable Level 2
  • First Submission
  • GitHub Submissions Level 1
  • Revival Level 2
  • First Answer

View badges

Feeds

View by

Answered
World magnetic model frame of reference??
The XYZ — Magnetic field vector stand for North-East-Down whcih can be confimed from the Visualize World Magnetic Model Contours...

4 months ago | 1

| accepted

Answered
打开附加管理
This error may occur for various reasons, such as: The installer or installation files are located in a directory containing ac...

4 months ago | 0

Answered
How to display a color bar in Matlab as shown below
you can use the 'colorbar' function. This allows you to represent both types of intervals effectively. colorbar('ticks',[0.3:0....

4 months ago | 0

Answered
i need to plus all numbers in my Array of 3x3 then divide that number by its area using save ,for loop, function
To understand how to sum elements in an array, use for loops, and perform basic arithmetic operations in MATLAB, you can refer t...

6 months ago | 0

Answered
Making the x axis of a graph move as time goes on and new values enter.
Hi Andrew, You can use the following function within while loop to change the limits with time by putting some if constraints...

6 months ago | 0

| accepted

Answered
Library function log10 not found when using fit
Since it worked previously, you may have a path problem. Run these from a script or your Command Window: restoredefaultpath ...

6 months ago | 0

Answered
function where input is also output
Hi Marina, I understand that you are seeking to utilize pass-by-reference to modify the input argument passed into a function. ...

6 months ago | 0

Answered
Almanac function not work
Hi, The error message "Unrecognized function or variable 'almanac'" typically occurs when MATLAB cannot find the specified func...

6 months ago | 0

Answered
Edge lines not drawn when adjacent patch is transparent
Hi, To ensure that the edges are always drawn around faces, regardless of the transparency of adjacent faces, you can set the '...

6 months ago | 0

Answered
where can i download the install file of Roadrunner2024a?
For detailed instructions on installing and licensing RoadRunner, please refer the RoadRunner documentation available at: https:...

6 months ago | 0

Answered
Error: unable to resolve the name
The error, "Unable to resolve the name 'pre1min.windowchunkIdx'." suggests that the variable 'pre1min.windowchunkIdx' (or other ...

6 months ago | 0

| accepted

Answered
How to define a function whose number of outputs depend on an input parameter value?
You can dynamically create and concatenate the elements of ceq based on the value of M. Here's how you can modify your function ...

6 months ago | 1

| accepted

Answered
Unable to open the requested feature. Check your internet connection and proxy settings in MATLAB Web preferences and then try starting the feature again. Detailed information
Hi, The parsim function simulates a dynamic system multiple times, either in parallel or serially. I am assuming that you have...

6 months ago | 2

| accepted

Answered
How to check the convexity of the objective function?
Hi Alexa, Since, If the second derivative of a function is always positive or non-negative over an interval, then the function ...

6 months ago | 0

Answered
Can anyone explain how to create (short-circuit) overcurrent in Matlab simulink?
Hi Myat, There are multiple ways to simulate an overcurrent or fault condition in an LLC resonant converter, some of them: ...

6 months ago | 1

Answered
What is the fastest/best way to create several thousand (text) files?
Using "fopen" & "fprintf" is one of the fastest way of creating several thousand text files below is the sample code for it: b...

1 year ago | 1

| accepted

Answered
Why do I get the error "Expected index to be positive" on line 3?
It is because indexing in matlab starts from 1 and not from 0 Changing line 3 to this: section1 = read(vfull,[1 5]); will s...

3 years ago | 0

Answered
call matlab function from php passing JSON object and return some values
This can be done by establishing the Socket communication between PHP and Matlab Example code for it: Code for PHP: <?php ...

3 years ago | 0

Answered
Parse JSON String to Structure
This can be done using : jsondecode('string text'); For more reference: https://in.mathworks.com/help/matlab/ref/jsondecode.h...

3 years ago | 0

Answered
Interface between Python and Matlab using tcpserver
Changing matlab code to following will work: server = tcpserver('127.0.0.1', 1234,"ConnectionChangedFcn",@connectionFcn) fun...

3 years ago | 1

Answered
Matlab2020 tcp socket open
The following code will create Server socket at port 5001 and infinitely allows clients to connect and receive data from them: ...

3 years ago | 0

Answered
Loading excel data using a professional code
To import data in matlab you can use load function Note: The only kind of "excel file" that you can use with load() is a .csv f...

3 years ago | 0

Answered
Why is logical array fasle?
It is because most decimal fractions are not exactly representable in binary form, just like 1/3 is not representable exactly in...

3 years ago | 0

Answered
i am confused with commands for loop
To create an array of random numbers between range 0 to 10 with size (10,1): arr=randi(11,1,10)-1; % first parameter is range ...

3 years ago | 0

Answered
i got this matrix question on my exam and i really had hard time with it
This can be done using following line of code: A = [zeros(2,3) ones(2,2); eye(5)] Explaination: zeros(2,3) will create array ...

3 years ago | 1

| accepted

Answered
Check for incorrect argument data type or missing argument in call to function 'diff'.
The correct piece of code will be: f = inline('((x+2)^(2/3)*((3*x^2)-2)^3)','x') ans = f(1) matlab will internally convert it...

3 years ago | 0

Answered
How do I make a 10x10 showing all numbers 1 to 100?
Following code will create a matrix as stated above: x=reshape( 1:100, 10, 10).'; %1:100 will create a linear matrix with 1 to...

3 years ago | 0

Answered
Preprocessing Data from Excel
Hello You can easily do that by reading the file and calling internal Matlab functions _______________________________________...

3 years ago | 0

| accepted