답변 있음
For loop with use of larger than
Now I want to calculate the average data value of the pressure for every small angle change. Hint: Do modify accordingly angl...

5년 초과 전 | 1

답변 있음
The graph I'm trying to create is empty
Here loop can be avoided (Recomended) t = 0:1:20 y =50*1.15.^t; figure,plot(t,y,'g') title('Voltage vs Time') xlabel('Time(...

5년 초과 전 | 0

답변 있음
How to change LineWidth and MarkerSize in plot fit curve ?
Can you try this way? figure,plot(f,'r--'); hold on; plot(x,y,'^b','MarkerSize',10); May be because of different class, her...

5년 초과 전 | 1

| 수락됨

답변 있음
How to calculate all the numbers in an array with some conditions?
"The problem is I need the value of phi is restricted between-2pi and 2pi. (The angle value (th) I stated was 20 degree but it c...

5년 초과 전 | 0

답변 있음
Counting the amount of overlap for 2D surfaces
This way: a=1:20; b=1:180; [x,y]=meshgrid(a,b); data=randi(100,[180,20,20]); tiledlayout(5,4);% 20 Plots for i=1:20 ...

5년 초과 전 | 0

답변 있음
how to extract the area of highlighted circle from the original image? I don't want to include part 2 area. I have attached original file along with the highlighted file
This one: #Step 1: Morphological Operation to remove those unwanted Region (You may avoid Morpho operation. Please see the dif...

5년 초과 전 | 0

| 수락됨

답변 있음
How to Change Array Values with some Random numbers
K=randi([min_value max_value],1,12)

5년 초과 전 | 0

답변 있음
How can I change 'y axis' into 'Probability', not the 'number' when I use 'hist(variable)' ?
Is there any sense? Let's suppose I have the following array > data data = 4 3 5 3 5 5 3 4 ...

5년 초과 전 | 0

답변 있음
Convert ECG signal waveform into text file
Steps: %load the mat file data=load('mat_file.mat'); %Save the data in txt file dlmwrite('filename.txt',data)

5년 초과 전 | 0

답변 있음
How do I create a vector in which the exponet is increasing?
"something like 10^-1, 10^-.9,10^-.8 ..... 10^1" data=10.^(-1:0.1:1)

5년 초과 전 | 0

답변 있음
Help on zero padding and understanding of the following example?
"If the zero padding was right then this time should be lower than above two, right?" How? The only difference between section...

5년 초과 전 | 0

답변 있음
Extract FFT of every column in frequency domain
A_G_fft = fft(A_G,[],1); Is that : y_data=vibration measured through labVIEW ? for i=1:size(A_G_fft,2) col_data=A_G_fft(:,i)...

5년 초과 전 | 0

답변 있음
runge-kutta ode45
Minor modification: Function Code (Save in the same working directory, filename runge_kutta_sis.m) function runge_kutta_sis(f,g...

5년 초과 전 | 0

| 수락됨

답변 있음
For loop to add elements in a vector
% Set the format as per how numbers should appear in Command Window output format shortG Next: x=zeros(15,1); x(1)=50; for...

5년 초과 전 | 0

답변 있음
Matching elements from two different matrixes.
a=Shut(Shut>LowerLimit & Shut<UpperLimit) a = 228.6000 304.8000 381.0000 457.2000

5년 초과 전 | 0

| 수락됨

답변 있음
Calling elements of a row vector in Loop function
To save the array or matrix data use cell array. The ( ) allows to save the scalar numeric data only. { } bracket Read about...

5년 초과 전 | 0

답변 있음
Problem with try/catch
Have you read the document of try catch Doc fucntion? If any statement in a try block generates an error, program control goes...

5년 초과 전 | 0

| 수락됨

답변 있음
How to center and add margin around image?
You can manually adjust the indices and overlap with the main image. Note that the main image pixel values will be lost in the o...

5년 초과 전 | 0

답변 있음
Deleting multiple rows based on a specific condition
Lets say data1 is the column time data diff_data=diff(data1); idx_delete=find(diff_data~=3600)+1; % +1 for compensate with ne...

5년 초과 전 | 0

| 수락됨

답변 있음
How can I plot the curve of SNR in dB versus target range in Km. The following code is producing blank plots.
The plot variables data are scalar (Single data), is there any sense? Like x=4; y=7; plot(x,y); There is a single dot in ...

5년 초과 전 | 0

답변 있음
How should I find cubic root?
Here roots https://in.mathworks.com/help/matlab/ref/roots.html

5년 초과 전 | 2

답변 있음
How to extract matching coordinates of a stitched and set of original images?
First Case: Pixel to Pixel comparision Simplest is Do the subtraction: The nearly zero or zero in the differenc result signify ...

5년 초과 전 | 0

| 수락됨

답변 있음
How can I keep peak data
First case: The data is already there (store in the workspace, variable named as pks). You can use the data in proceeding spar...

5년 초과 전 | 0

| 수락됨

답변 있음
i have 2 tables have same number of columns i need to marge without key
result_table=[table1,table1] Make sure that both tables do not have the same column variable names and both have same number of...

5년 초과 전 | 0

| 수락됨

답변 있음
How to save clustergram as fig file using code?
One way: plot(cgo); saveas(gcf,'filename1.png')

5년 초과 전 | 1

답변 있음
Creating a matrix with for and input
nnd=input('Enter nnd '); ... geom(i,j)=input('Enter the Value: ')' .. geom

5년 초과 전 | 1

| 수락됨

답변 있음
How to increase axis of stem plots
xlim([0,1400 ]) Do the same for y axis ylim([0 16])

5년 초과 전 | 0

답변 있음
Plot a graph from the given table
Graph: Please do learn about line/plot design here simu_result=[34 81 92 94 211 222 233 234 312 336 372]; ana_result=[36 98 ...

5년 초과 전 | 0

| 수락됨

답변 있음
precision problem ? why ans for 10 ^ 5 * 0.0633 is 6.3299e+03
>> 10 ^ 5 * 0.0633 ans = 6.3300e+03 >> format shortG >> 10 ^ 5 * 0.0633 ans = 6330 See the other Format opti...

5년 초과 전 | 0

답변 있음
How to visualize a pixel intensity values into an image or a plot?
You can use the following function to read a txt file. readmatrix, readtable, load etc Example: data=readmatrix('post_mathwor...

5년 초과 전 | 0

| 수락됨

더 보기