Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
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 ...

presque 7 ans il y a | 0

Réponse apportée
Differentiate 1*300 vector array
diff data=rand(300,1); result=diff(data)

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 1

Réponse apportée
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 = ...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
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); ...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
normalize values from svd matrix
Want to normalize only the first three values of my matrix x=norm(1:3)

presque 7 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
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); ...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
How to draw a zigzag line in MATLAB?
x=randi(100,[1,10]); y=randi(100,[1,10]); line(x,y)

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 1

Réponse apportée
Log graphic and matrix problem
Try with (element wise operation) .^

presque 7 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
Log display problem semilogx
a=5; b=2; x=0.0001:1000000; y=a*x+b; figure semilogx(x,y)

presque 7 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
How can I plot symbolic expression
fplot

presque 7 ans il y a | 0

Réponse apportée
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 ...

presque 7 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
How can I show this text in the command window?
fprintf and disp

presque 7 ans il y a | 0

| A accepté

Charger plus