Réponse apportée
Solving tridiagonal system by Thomas Algorithm
I don't know about the Thomas, but you wish to use any other way's, you can use the following MATLAB fuction to solve it easily ...

plus de 5 ans il y a | 0

Réponse apportée
What is wrong with my One Third Octave Filter for Frequency Weighted Acceleration
? In the initial check, "wl" and "wu" are vector, it may be scalar data. Since it represents the lower and upper cuffs of frequ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Colored values for cellular automatons
pcolor or imagese pcolor(mat_data); colorbar Set the colorbar properties as per your requirements https://in.mathworks.com/...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Thresholding based on smaller domains
You can try with any size, lets suppose you have image named as 'grayImage' (256x256) grayImage=randi([0,255],[256,256]); %Rand...

plus de 5 ans il y a | 0

Réponse apportée
how to save iterations obtained from mat2cell?
"how to save iterations obtained from mat2cell?" You can save cells within a another cell, as B B=cell(1,numel(A)) for B{i}...

plus de 5 ans il y a | 0

Réponse apportée
Plotting all waves on the same plot and sequencing them together
plot(x,y); %Plot 1 hold one; plot(x,y); %Plot 2 .......% son on legend(....); % Add legends to differentiate htt...

plus de 5 ans il y a | 0

Réponse apportée
Converting a string array into a number array
#Edited num_str='123456789' num_str - '0' Result: ans = 1 2 3 4 5 6 7 8 9

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
How can I merge text to numeric data?
A = [1 2 3 4 5 6 7 8 9 10]'; B = ["L", "R"]'; r=length(A)/length(B); B_update=repmat(B,[r,1]) t=table(A,B_update) Result: ...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
derivative from set of values code.
Hints Only: Extracts the displacement and time vector separately from the input data matrix , use indices colon":" for all ro...

plus de 5 ans il y a | 1

Réponse apportée
dsolve code is not running
The issues are here f1=F1.f; g1=F1.g; h1=F1.h; Here, lets say for first line of the code f1=F1.f; Whre F1 is the sym va...

plus de 5 ans il y a | 0

Réponse apportée
Error Index in position 1 exceeds array bounds (must not exceed 4).
Here, x1 if you check carefully >> whos x1 Name Size Bytes Class Attributes x1 4x7 ...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Creating 3-D surface and contour plot from csv
Please refer the MATLAB docs data=readmatrix('180.xlsx'); figure,surf(data); % Here matrix elements represent the heights (z ...

plus de 5 ans il y a | 0

Réponse apportée
index exceed matrix dimensions
Issue with this line p3i=1./(((((z(j)-D(j))./(L./2)).^2)+1).*sqrt((((z(j)-D(j))./(L./2)).^2)+2)); You are trying to access D a...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
replace the data from int to char in the matrix 200x1
I am sharing one example here, hope it helps data=randi(3,[1,10]); data_cell=table(data); str_data={'Normal','Left','Right'}...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Remove a part or object from an image
rgbImage=imread('laser_image.png'); grayImage=rgb2gray(rgbImage); mask=bwareafilt(grayImage>170,1); %Change the threshod valu...

plus de 5 ans il y a | 0

Réponse apportée
Break X-axis
Break? xlim([0 260])

plus de 5 ans il y a | 0

Réponse apportée
How to perform clutter removal on this signal?
@Adam Danz clearly stated, If you know the x range, which is to be set to zero, then you can directly locate the indices of the ...

plus de 5 ans il y a | 0

Réponse apportée
My code only plots one point
Define Before the loop t=1:N for i=1:length(t) tao_s= pic_s(i)= end plot(t,pic_s); Also you can avoid the loop here (reco...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Matlab Spelling letter by letter code
One Way: Splits Words to Letters, like >> word='Kalyan' word = 'Kalyan' >> num2cell(word) ans = 1×6 cell array ...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Determine the element's row and column position based on the specific element
Is this? a= [1 3; 4 8; 2 6] b= [1;2;3] c= {'A','B','C'} [r1,c1]=find(max(a(:))==a) b(r1) c{c1}

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Indexing in "for loops"
Here I have considering three assumptions and tried to reproduce the same, there is no error Suppose "value" is the scalar resu...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
If statement in for loop does not work
It's because floating point numbers representation (Exactly). Hence If you're trying to do logical comparision (==) with floatin...

plus de 5 ans il y a | 0

Réponse apportée
How to calculate mean and standard deviation in from the image sample
As you mentioned, you have the h1,h2,h3...(Already computed or known data) mu=(h1+h2+h3+h4)/4; And standard deaviation as per ...

plus de 5 ans il y a | 0

Réponse apportée
change table var type
"My table is already there and I need to change the var type of a column." If the data is numeric, you can use num2str(variable...

plus de 5 ans il y a | 0

Réponse apportée
Convolving 2D image with 1D filter
No, Once I tried the same, I have get the resultant image, I have shown the result on same size gray Image img=rgb2gray(imread(...

plus de 5 ans il y a | 0

Réponse apportée
How can I change this code to form a continuous plotted line?
Modified Done: Considering time as new variable, t form 1 to 20-1, as t=1 in defined before loop, may be considering initial v...

plus de 5 ans il y a | 1

| A accepté

Réponse apportée
Removing rows from table based on content
If you are wish to check the single string with x only, as in the rows 6 and 7, then you can accomplish it easily. In that case ...

plus de 5 ans il y a | 0

| A accepté

Réponse apportée
Assigning values from an image set(strain values in 3d) to coordinate points and store the data
If you know the indices (pixels location), you may directly apply the same Let say id_r=[3,4,5,6,7]; id_c=[2,4,10,11,7]; i...

plus de 5 ans il y a | 0

Réponse apportée
help with preallocating matrix ?
If it is are fixed,can consider the extra zeros (If generated data are not sufficients to allocate all) Archive=zeros(1,200); ...

plus de 5 ans il y a | 0

A résolu


Find Logic 19

plus de 5 ans il y a

Charger plus