回答済み
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 ...

5年以上 前 | 0

回答済み
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...

5年以上 前 | 0

| 採用済み

回答済み
Colored values for cellular automatons
pcolor or imagese pcolor(mat_data); colorbar Set the colorbar properties as per your requirements https://in.mathworks.com/...

5年以上 前 | 1

| 採用済み

回答済み
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...

5年以上 前 | 0

回答済み
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}...

5年以上 前 | 0

回答済み
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...

5年以上 前 | 0

回答済み
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

5年以上 前 | 0

| 採用済み

回答済み
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: ...

5年以上 前 | 1

| 採用済み

回答済み
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...

5年以上 前 | 1

回答済み
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...

5年以上 前 | 0

回答済み
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 ...

5年以上 前 | 1

| 採用済み

回答済み
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 ...

5年以上 前 | 0

回答済み
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...

5年以上 前 | 0

| 採用済み

回答済み
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'}...

5年以上 前 | 0

| 採用済み

回答済み
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...

5年以上 前 | 0

回答済み
Break X-axis
Break? xlim([0 260])

5年以上 前 | 0

回答済み
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 ...

5年以上 前 | 0

回答済み
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...

5年以上 前 | 0

| 採用済み

回答済み
Matlab Spelling letter by letter code
One Way: Splits Words to Letters, like >> word='Kalyan' word = 'Kalyan' >> num2cell(word) ans = 1×6 cell array ...

5年以上 前 | 1

| 採用済み

回答済み
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}

5年以上 前 | 1

| 採用済み

回答済み
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...

5年以上 前 | 0

| 採用済み

回答済み
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...

5年以上 前 | 0

回答済み
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 ...

5年以上 前 | 0

回答済み
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...

5年以上 前 | 0

回答済み
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(...

5年以上 前 | 0

回答済み
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...

5年以上 前 | 1

| 採用済み

回答済み
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 ...

5年以上 前 | 0

| 採用済み

回答済み
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...

5年以上 前 | 0

回答済み
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); ...

5年以上 前 | 0

解決済み


Find Logic 19

5年以上 前

さらに読み込む