Réponse apportée
How to store data in cell array?
Just traspose the cell array, let's data is a cell array then- new_data=data'

plus de 4 ans il y a | 0

Réponse apportée
Plotting average value with max-min area
c_color=['r','m','y']; for i=3:-1:1 p=Cn_range(i,:); plot(p); area(p,'FaceColor',c_color(i)); hold on; end...

plus de 4 ans il y a | 0

Réponse apportée
How can I store user input
There are multiple ways (Any One) Store the r and c variable data in text file or other files, like excel (see save function) ...

plus de 4 ans il y a | 0

Réponse apportée
I need to plot the following script. But it gives an error.
Fw=1./(cos(w*Hs/Vs_soil));

plus de 4 ans il y a | 2

Réponse apportée
how to extract objects from an image after filling in the objects in the binary image
Original BW image BW_result=bwareafilt(BW,2); % Get the largest 2 max size objects result=~(BW_result.*BW); % Nand Logical Op...

plus de 4 ans il y a | 0

Réponse apportée
How can I find a number from a matrix, which is greater than and closest to 1.
Hints: Use logical indexing Get the data those are greater than 1: mat>1 Subtract 1 from all elements of the matrix - mat-1 G...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
can someone help me with this code? there is something wrong and I don't know what it's.
Replace all lines axis ([th0 thl -inf inf]); More figure plot (th0:dth:thl, wBD , th0:dth:thl , alBD/100 ,'lineWidth', 2); ...

plus de 4 ans il y a | 0

Réponse apportée
how to plot columns of two matrices against each other?
mat1=... mat2=... for i=1:7 plot(mat1(:,i),mat2(:,i)); hold on; end

plus de 4 ans il y a | 0

Réponse apportée
Matlab Matrix plot from a for-loop
pi_aprox=zeros(1,30); n=6; g2n=zeros(1,30); U_neue=zeros(1,30); g2n(1)=1; for i=1:30 U_neue(i)=n*g2n(i); pi_aprox...

plus de 4 ans il y a | 0

Réponse apportée
Adding a filter to only white regions of image.
result_image=gray_image.*bw_image; %Now you can apply the filter on result_image

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
sort output of roots or residue so that the repeated roots occur together
>> data=roots([1 8 38 88 121]) data = -2.0000 + 2.6458i -2.0000 - 2.6458i -2.0000 + 2.6458i -2.0000 - 2.6458i ...

presque 5 ans il y a | 0

Réponse apportée
how to get Y Value from a plot having 3 curves as shown in figure?
I have assumed that you have the 3 data for three individual plot, with respect to same x values, let say y1,y2,y3 for the same ...

presque 5 ans il y a | 0

Réponse apportée
Manipulation of certain matrix elements which meet a certain criterion
mat=randi([-5,5],[100,100]); % Sample Matrix [r,c]=find(mat(10:15,11:13)<0==1); % Get the indices mat(9+r,10+c)=x; % x Manupu...

presque 5 ans il y a | 0

Réponse apportée
FFT of Signal doesn´t work well
xabs(2nd Plot) is the absolute of fft ??

presque 5 ans il y a | 0

Réponse apportée
Determining mean and creating a bar chart in Matlab
load LabelTable.mat % Extract data % ID 1 Animal_ID_1 = T(T.Caller_ID==1,:); % ID 2 Animal_ID_2 = T(T.Caller_ID==2,:); % I...

environ 5 ans il y a | 0

Réponse apportée
Is there a way to automatically extract the first and last number in a for loop?
So my question is, is there a way to automatically extract the first and last number in the sd column and place them- Just stor...

environ 5 ans il y a | 0

Réponse apportée
Segmentation of multiples ecg signals
First Part: load ecg_data_file Read the y axis data (mV) as another column data & store in new variable, say ecg_data. The ti...

environ 5 ans il y a | 0

Réponse apportée
I have an image ( bit it has a ‘spotty’ appearance). Can you help restore it to a less spotty state
Please follow this for reference https://in.mathworks.com/matlabcentral/fileexchange/69333-image-denoising-using-notch-filter-...

environ 5 ans il y a | 0

Réponse apportée
dsolve for multiple plots on a single figure
Using Loop A = 2; % cross-sectional area (m^2) T = 0.1; % integral time c...

environ 5 ans il y a | 0

Réponse apportée
How do I select the particular region of the segmented image in MATLAB
Possible: Convert the image to binnary & trace the region?? If you can perform an operation on a binary image, its indexes can a...

environ 5 ans il y a | 0

Réponse apportée
how to save the data in csv file from the plot
Options: The plot is a figure, you can save as Matlab .fig files (Use save as option) Save the figure plot result as an image ...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
Given a linear system i want to do Gauss-Seidel iteration.But getting error.Would appreciate if anyone fix me the code. Thanks.
No coding syntax error x(1)=1.5; y(1)=-1; z(1)=1; iter(1)=0; for n=1:4 iter(n+1)=n; x(n+1)=(16+3*y(n)-2*z(n))/8; y...

environ 5 ans il y a | 0

Réponse apportée
Add multiple elements to array
Yes it's OK, horizontal concatenation x=[x,3] Example: >> x=1:4 x = 1 2 3 4 >> x=[x,9:12] x = 1 ...

environ 5 ans il y a | 2

| A accepté

Réponse apportée
Image pre-processing to remove noise
Absolutely possible, you can remove the white pixels based on area (Extract objects from binary image by size) and do some AND o...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
I want to Generate Chirp Signal
See the MATLAB inbuilt function, you need to change the properties only https://in.mathworks.com/help/signal/ref/chirp.html

environ 5 ans il y a | 0

Réponse apportée
How to write loops within loops for a function.
Vs = 8:-0.1:7 o/p: 8 7.9 7.8 7.7 7.6 7.5 7.4 7.3 7.2 7.1 7 Hoe you can do the ...

environ 5 ans il y a | 0

| A accepté

Réponse apportée
xlswrite() to write to csv file not working
You are trying to save in CSV, Prefer this one https://in.mathworks.com/help/matlab/ref/writematrix.html

environ 5 ans il y a | 0

Réponse apportée
Matrix dimension conversion for image input layer
Sir, you can convert the size of the image from 2D to 3D using the following way (The image isualization is not affected) ori_i...

environ 5 ans il y a | 0

Réponse apportée
sum of array by specific index value
result=sum(second_arary(first_array)) More result=sum(hasil_tambah_array(index))

environ 5 ans il y a | 0

Réponse apportée
Image pre-processing to make pixels in one straight line
Yes, you can do that multiple ways Get the two highest-spaced white pixels in the image, column numbers (left column and right ...

environ 5 ans il y a | 0

| A accepté

Charger plus