Beantwortet
How to store data in cell array?
Just traspose the cell array, let's data is a cell array then- new_data=data'

etwa 4 Jahre vor | 0

Beantwortet
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...

etwa 4 Jahre vor | 0

Beantwortet
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) ...

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 2

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
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); ...

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
Adding a filter to only white regions of image.
result_image=gray_image.*bw_image; %Now you can apply the filter on result_image

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

mehr als 4 Jahre vor | 0

Beantwortet
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 ...

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
FFT of Signal doesn´t work well
xabs(2nd Plot) is the absolute of fft ??

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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-...

mehr als 4 Jahre vor | 0

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

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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 ...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
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 ...

mehr als 4 Jahre vor | 2

| akzeptiert

Beantwortet
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...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
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

mehr als 4 Jahre vor | 0

Beantwortet
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 ...

mehr als 4 Jahre vor | 0

| akzeptiert

Beantwortet
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

mehr als 4 Jahre vor | 0

Beantwortet
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...

mehr als 4 Jahre vor | 0

Beantwortet
sum of array by specific index value
result=sum(second_arary(first_array)) More result=sum(hasil_tambah_array(index))

mehr als 4 Jahre vor | 0

Beantwortet
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 ...

mehr als 4 Jahre vor | 0

| akzeptiert

Mehr laden