Community Profile

photo

Kunal Kandhari


Last seen: 7개월 전 2021년부터 활동

통계

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

배지 보기

Content Feed

보기 기준

답변 있음
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...

7개월 전 | 1

| 수락됨

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

답변 있음
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년 전 | 1

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

답변 있음
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년 전 | 1

| 수락됨

답변 있음
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년 전 | 0

답변 있음
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년 전 | 0

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

거의 3년 전 | 0

| 수락됨