답변 있음
good morning everyone can anyone answer me this question ? i have an error in the matlab code
To avoid the error, you must define the t_obs size as 2x3 format shortG sou_y = [5 10]; rec_y = [5 25 40]; t_obs = [0.1000...

6년 초과 전 | 0

답변 있음
Use Gamma correction to process images, and then display related images.
Yes, its simple c= % constant value gamma= % Brigther gamma>1 or varry it & see...

6년 초과 전 | 1

| 수락됨

답변 있음
draw a line at the coordinates and paint it
a=[110 120 70 140 150] b=[20 30 40 50 80] red=[3 2 1 2 3] plot(a,b,'r','linewidth',10) %........^ color..........^ width of ...

6년 초과 전 | 0

답변 있음
Differentiate 1*300 vector array
diff data=rand(300,1); result=diff(data)

6년 초과 전 | 0

답변 있음
need suggestions on noise removal from scanned handwritten note
Dear Steve, Just for normal filtering, you can try in a different way, as the exact algorithm will be based on resultant enhan...

6년 초과 전 | 0

답변 있음
comparing 3x3 block with center pixel
Self Declaration: Odd Way but simpler for i=2:Row-1 for j=2:Col-1 if (mat(i,j)<mat(i-1,j-1)+mat(i,j)<mat(i,j-1)+m...

6년 초과 전 | 0

답변 있음
Average of Wave from 10 waves in single graph
Lets say wave are y1,y2,y3.....up to y10..assuming all are having in same x scale aveg_data=(y1+y2+y3...+y10)/10; plot(x,aveg...

6년 초과 전 | 1

답변 있음
concatenate column values in a vector
Simpler way: v=[1,0,1,0]; result=str2num(sprintf('%1d',v)) here the same question Credit: @per isakson Result: result = ...

6년 초과 전 | 1

| 수락됨

답변 있음
Plotting Time Sequence in MATLAB
Is this way? x=1:16; y=linspace(0,1,16); plot(x,y,'Db','linewidth',5); hold on; plot(x(1:5)+10,y(1:5),'Db','linewidth',5); ...

6년 초과 전 | 0

답변 있음
code error for Two Point Boundary Value Problem
I did not find any coding error in your code, just save the task14 function file in the same directory. You can call the saved t...

6년 초과 전 | 0

답변 있음
normalize values from svd matrix
Want to normalize only the first three values of my matrix x=norm(1:3)

6년 초과 전 | 0

| 수락됨

답변 있음
Calculate derivative using central differencing
Is this? dx=0.01; x=0:dx:2*pi; signal=sin(x).*cos(10*x); diff_cen=(sin(x+dx).*cos(10*(x+dx))-sin(x).*cos(10*x))/(2*dx); d...

6년 초과 전 | 0

| 수락됨

답변 있음
Storing data from a function into and array to be recalled?
a = arduino('com3', 'uno'); s = servo(a, 'D10','MaxPulseDuration', .0025, 'MinPulseDuration', .0005); n = 60; x=zeros(1,n); ...

6년 초과 전 | 1

| 수락됨

답변 있음
How can I get the intensity of individual pixel and average intensity of all from a given image
"How can I get the intensity of individual pixel and average intensity of all from a given image" "get the intensity of individ...

6년 초과 전 | 0

답변 있음
How to draw a zigzag line in MATLAB?
x=randi(100,[1,10]); y=randi(100,[1,10]); line(x,y)

6년 초과 전 | 0

답변 있음
Array indices must be positive integers or logical values.
Please check it has modified (slightly), no need of loop here. omega=2*pi*10; t=0:0.001:10; f=linspace(0,500,length(t)); n=1...

6년 초과 전 | 1

| 수락됨

답변 있음
Find column where one value is NaN
"Find column where one value is NaN" a=[0.5, NaN, 0.5, 0.5, 0.5; 0.5, NaN, 0.5, NaN, NaN]; [r,c]=find(isnan(a)); col_data...

6년 초과 전 | 1

답변 있음
Log graphic and matrix problem
Try with (element wise operation) .^

6년 초과 전 | 0

| 수락됨

답변 있음
The surface Z must contain more than one row or column.
Is this? Please make C and D vectors with same girds points p=2; %range and domain of the graph a=-p:0.1:p; b=-p:0.1:p; [A,B...

6년 초과 전 | 0

답변 있음
Log display problem semilogx
a=5; b=2; x=0.0001:1000000; y=a*x+b; figure semilogx(x,y)

6년 초과 전 | 0

| 수락됨

답변 있음
Plot, fitness function.
Please note I have consider random x value here, please change as per the data. Also there is no role of gama in fitness, as gam...

6년 초과 전 | 0

답변 있음
how to sum a 9 matrice in a for loop ?
"May the question is: how to sum a 9 matrices elements in a for loop?" No need of loop, here mat is given matrix result=sum(m...

6년 초과 전 | 0

답변 있음
how to calculate euclidean norm of two points?
As you mentioned ||x-y||^2 (abs(x-y))^2 If not, please do read here the theory and tell us the expression

6년 초과 전 | 0

답변 있음
Bar charts with different colors
One way: SC01_LS02_TVSR_112=[0.0127 0.0139 0.0058 0.0112 0.0048 0.0126 0.0037]; col=['r','y','b','k','b','k','y']; % Decide co...

6년 초과 전 | 0

답변 있음
How can I select y data given a certain x value?
load Zn1.txt Zn1_data=Zn1; V_Zn1=Zn1_data(:,1); A_Zn1=Zn1_data(:,2); AA_Zn1(find(V_Zn1~=-1.7001))=0; Is This? "I would li...

6년 초과 전 | 0

| 수락됨

답변 있음
find jordan canonical form of a matrix
J=jordan(A); % where A is Given Matrix Or In your code J represents the same https://in.mathworks.com/help/symbolic/sym.jordan...

6년 초과 전 | 0

답변 있음
How can I plot symbolic expression
fplot

6년 초과 전 | 0

답변 있음
How to remove candidates which are present on blood vessels?
"I have two images ,one is the candidates image and the blood vessels image.I have studied that candidates won't occur on blood ...

6년 초과 전 | 0

| 수락됨

답변 있음
Is my uint16 image matrix and RGB image?
Are the unit16 images an rgb images? Is there a way to determine that? No, it doesnot mean that, this mean data types Check th...

6년 초과 전 | 0

답변 있음
How can I show this text in the command window?
fprintf and disp

6년 초과 전 | 0

| 수락됨

더 보기