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

etwa 5 Jahre vor | 1

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 1

| akzeptiert

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 2

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

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 1

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

etwa 5 Jahre vor | 1

| akzeptiert

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

| akzeptiert

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

etwa 5 Jahre vor | 0

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

etwa 5 Jahre vor | 0

| akzeptiert

Mehr laden