답변 있음
How to add limit condition to existing code
How to add lim h ->0 condition to the below code- limit(main_function code) detail read here

7년 초과 전 | 0

답변 있음
I want to print this statement 200 times using a loop or fprintf
for i=1:200 fprintf('WELL INJ_W%d\n',i); fprintf('INJECTOR MOBWEIGHT INJ_W%d\n',i); disp('INCOMP WATER'); disp('OPERATE MA...

7년 초과 전 | 1

| 수락됨

답변 있음
how can i find mean value in stats variable??
mean_value=mean(stats) Detail mean For specific rows and colm, you can look here

7년 초과 전 | 0

답변 있음
area between the function and the x-axis
Hint: Use the following function trapz read here detail As this is your exam question, therefore I cann't elaborate more. ...

7년 초과 전 | 0

답변 있음
Removing an area from an image
BW2=bwareaopen(binary_image,size_pixel); %Resultant image having only more than size_pixels area % But it does not look for...

7년 초과 전 | 0

답변 있음
removal of background part in image
Hi Jaganatha First save the code of custom function backgraound_removal from here Please note above code must be same workin...

7년 초과 전 | 0

| 수락됨

답변 있음
conversion of image into 8 x 8 matrix
Assuming you have gray scale image, say I, for 8x8 result_image=imresize(I,[8 8]) and for 4x4 result_image=imresize(I,[4 4]) ...

7년 초과 전 | 1

| 수락됨

답변 있음
How can I repeat this simulation 1000 times
U1= 13.5; U2= 9; dt= 0.01; %time step MAXT= 0.5;%maximum time (s) a= 1.2; % threshold x1(1)=0.5*a; x2(1)=0.5*a; inerat...

7년 초과 전 | 0

| 수락됨

답변 있음
how to write in matlab
%Please note I did not check the logic of the code for i=1:n check here sscanf for j=1:n for i=1:n temp=num(i); num(i)=n...

7년 초과 전 | 0

답변 있음
can anyone help me to sort out the problem here
If you want to change the execution time for the iterations, you can look for indexing (avoid loop if possible) or use the funct...

7년 초과 전 | 0

답변 있음
I want to calculate the area under 3d curve? how can i do it?
Its a 2 D Plot Use trapz function There are multiples answers please check here Simmilar question answer here area of histog...

7년 초과 전 | 0

| 수락됨

답변 있음
Cartesian points to solar coordinates
What I have undestood from your question is- you have the x,y,z points for a plane. Is there any issue to use [theta,rho,z]=c...

7년 초과 전 | 0

답변 있음
Help with plotting sin(X) for a taylor series
Please check for i = 0:9 sin_value = sin_value + (-1).^i * input_value^(2.*i+1)/factorial(2.*i+1); end end...

7년 초과 전 | 0

답변 있음
tf2zp how to use k value
tf2zp how to use k value When the code exucate the following line [z,p,k] = tf2zp(num,den); here k represents the gain of th...

7년 초과 전 | 0

답변 있음
How to save/print multiples images using a for loop?
As you mentioned that you have already read the images using for loop. Syntax code as follows for k=1:k %k be numbers of ima...

7년 초과 전 | 1

답변 있음
Counting pixels and summing up their brightness inside the boundary
You can do that, as you have mentioned that you know the co-ordinates of the ractangular, supose first one (a,b) and last corner...

7년 초과 전 | 0

| 수락됨

답변 있음
What is difference between unit delay and data store blocks?
As per Mathworks libary file Definations (Purpose): Unit Delay: Implement a delay using a discrete sample time that you specif...

7년 초과 전 | 0

답변 있음
Save each loop values, without overwriting
for i=1:10 a(i)=..... %using array end Here value will not replace, values save as a(1), a(2).. etc

7년 초과 전 | 0

| 수락됨

답변 있음
how to find the middle value of maximum peak in histogram
maximum value in histogram im=imread('test.jpg'); im_gray=rgb2gray(im); im_hist=imhist(im_gray); max_hist=max(im_hist) m...

7년 초과 전 | 0

답변 있음
How can i extrapolate the first 15 values of this vector ?
for i=1:50 v(i)=exp(i/85)*sin(i/9); end disp(v(1:15))

7년 초과 전 | 0

답변 있음
Difficulty in extracting the particular variable value (a_mean, a_std) from the code
Answer of this question When I run this script, no error have shown in command window, but I am unable to get the values of th...

7년 초과 전 | 0

| 수락됨

답변 있음
Loading specific Images from a folder
path_directory='ddb1_fundusimages'; % 'Folder name' original_files=dir([path_directory '/*.png']); array1=[5 10 15]; j=1; f...

7년 초과 전 | 0

| 수락됨

답변 있음
Access command window values
As per your question seems easy, why not use the count=count+1, instead of message print . % Say i=input image and r is process...

7년 초과 전 | 0

| 수락됨

답변 있음
How to give variable duty cycle to PWM generator?
Check the link here, the answer is clearly described. Still if you have problem, let me know here.

7년 초과 전 | 0

답변 있음
How to track a object [binary image], by centroid,Area ..ect?
Though you did not provides the details information, regarding your question. You can find the properties individually and track...

7년 초과 전 | 0

답변 있음
getting double legend for one bar plot while running histc!!
data=[4.4463 0.0109 0.0034 0.1224 0.0120]; binranges = logspace(-3,4,8); %1e-3:1e2:1e4; [bincounts] = histc(data,binranges); %...

7년 초과 전 | 0

답변 있음
what is the maximum diameter of convex polygons ?
Use this link to get the answer (Source: Walter Answer)

7년 초과 전 | 0

답변 있음
At least one END is missing: the statement may begin here.
for p=1:size(case_matrix,1) if case_matrix(p,1)==1 scatter(case_matrix(p,4),case_matrix(p,5),'s','r'); hold on; ...

7년 초과 전 | 0

답변 있음
Nonlinear multiple equations = fsolve?
Is this the solution? Equation solved. fsolve completed because the vector of function values is near zero as measured by the ...

7년 초과 전 | 0

답변 있음
can some one help me please how to ADD 20 images of same size to one image. i used imad command but it can add only two images. As you can see the image below, i want to add more than 20 images like this. all the images have same dimensions
image_result=image1+image2+...+image20 Try this one, if above not get theresult image_result=double(image1)+double(image2)...

7년 초과 전 | 0

| 수락됨

더 보기