photo

AKARSH KUMAR


Last seen: plus de 3 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

  • Revival Level 2
  • First Answer

Afficher les badges

Feeds

Afficher par

Réponse apportée
if-block_in_switch_case
Yes you can, inside any case you can write if else statements.

environ 4 ans il y a | 1

Réponse apportée
Reading multiple bytes on a specific address of an sensor on an arduino at once
m is the arduino object dev = device (m,'I2CAddress',startingRegisterAddress) data = readRegister(dev, startingRegisterAddress...

environ 4 ans il y a | 0

Réponse apportée
How to check success of inputParser.parse method
As far as my knowledge is concerned there is no inbuilt parser check, you can check by putting breakpoints in your code and chec...

environ 4 ans il y a | 0

Réponse apportée
creating an string array
Your question is not clear, can you please explain it more clearly.

environ 4 ans il y a | 0

Réponse apportée
String comparison in table
The reason is you are not comparing a single value but multiple values in this case two values of the table. Like in your case ...

environ 4 ans il y a | 0

Réponse apportée
Improving an if else function
I don't think this if else condition could further be reduced, try to check in your other part of code.

environ 4 ans il y a | 0

Réponse apportée
How to Use for Loop Variable outside loop
You can try defining/declaring the variable outside the loop. Then it would work I feel.

environ 4 ans il y a | 0

Réponse apportée
Calculate the roots of quadratic ax^2 + bx + c = 0. For the program, consider the discriminant D, D = b^2 − 4ac
You can refer to this link and use the function to solve higher degree polynomials as well https://www.mathworks.com/help/symbo...

environ 4 ans il y a | 0

Réponse apportée
Approximating square root function using loops
function estSqrt= ApproxSqrt(a,tol) if a<0 msg='Can't calculate square root of negative number'; error(msg); else if a==...

environ 4 ans il y a | 0

Réponse apportée
How could I use MATLAB to solve for x with this equation, 0=a*x^(3)+b*x^(-1)+c.
Refer the docmentation https://www.mathworks.com/help/symbolic/solve.html

environ 4 ans il y a | 0