How do I write a function that uses a, b and c as inputs to characterize ((i.e., non-equal real, equal real or non-equal complex roots) and compute the roots of the quadratic equat…
Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.
How do I write a function that uses a, b and c as inputs to characterize ((i.e., non-equal real, equal real or non-equal complex roots) and compute the roots of the quadratic equat…
How i can convert the list of date/time in to my local date format and let me know which format is it? Example: From 1992.752225 1992.765914 1992.779603 ................2018.460643…
I have a position Array suppose "A" A =[ 1, 0, 3, 4, 5, 6, 7, 8, 0, 0,15, 20, 10, 9]. I want to replace all those values of A which are grater than 5. Here, the first element (in A…
I am performing an eigenvalue calculation for a range of 10 numbers. One of these numbers are negative which results in a complex eigenvalue but the remainder are real numbers. I w…
I used matlab to predict the solar energy so i need to predict it with the ANN model and calculated the RMSE. But every time i did it the RMSE becomes 166.9789 while it must be les…
Suppose I have a time intervel t = 1:1:100; I can caterize the time intervel as odd and even, So depending on the odd and even,I can execute only to statement inside the conditiona…
I" m trying to build function that solves pyrolysis problem. But, when I run it, it keep saying "Index exceeds number of array elements (1)." I need help... Error is in this fun…
I am using MATLAB coder to generate code for following function. function [D] = getInterpolatedTransforms(q0,t0,q1,t1,steps,correction) D = zeros(4,4,steps); for i = 0:1:steps…
Not getting plots written in for loop, but getting values in command window…
An excerpt of my code shown below: % Creating the detector for the face detector = vision.CascadeObjectDetector; % Bounding Box for face A = step(detector,I); This basically doe…