已回答
How can i use the roots function to show that all the roots of a complex number lie on a square
Try this out: corners = roots([1 0 0 0 -16]); x = real(corners); y = imag(corners); figure(1) plot(x,y,'*r') xlim([-4 ...

7 years 前 | 1

已回答
How to find length, width,edges of rice in this image??
Use the Image Processing Toolbox and this code: I = imread('download.jpg'); I = rgb2gray(I); BW = imbinarize(I); stats = r...

7 years 前 | 0

已回答
Undefined function 'tf' for input arguments of type 'double'.
You need the Control Systems Toolbox installed.

7 years 前 | 1

已回答
Loop that names first 3 files one name and 2nd 3 files another.
If I understand your question correctly try implementing one of the two codes to solve your problem: for i = 1:numel(A) if...

7 years 前 | 0

已回答
I'm having problem to adjust the range of the time to be from 0 to 10 , it shows me error in the vectors must be the same length and i don't know how to use the length function in matlab
The error is coming from using conv. As per MATLAB documentation it states: >> help conv conv Convolution and polynomial mult...

7 years 前 | 0

已回答
I want to save matrix at each iteration to later use for Multiplication
Store it as a cell array (use curly brackets). The following works: clear all; clc a=0:1; b=0:1; c=0:1; l=length (a); ...

7 years 前 | 1

| 已接受

已回答
how i can segment the red area from the leaf
I would reccomend using the Color Thresholder App which is part of the Image Processing Toolbox. You can load in an image either...

7 years 前 | 1

| 已接受

已回答
How to Design a Band-Pass Filter
Check out the bandpass filter from the signal processing toolbox located here. I would imagine your function would look somethin...

7 years 前 | 0

已回答
I need to create a function that sorts two strings into alphabetical order. any help?
Based on your sudo code the following function works function less = isLess(worda,wordb) input = {worda, wordb}; in...

7 years 前 | 0

已回答
image analysis for macrographs
I would reccomend using the Color Thresholder App (https://www.mathworks.com/help/images/ref/colorthresholder-app.html) which is...

7 years 前 | 0

已回答
License_plate_identification_based_on matlab
Checkout the the File Exchange. The following two functions work good: https://www.mathworks.com/matlabcentral/fileexchange/40...

7 years 前 | 0