統計
All
Feeds
回答済み
1D Element Wise Arithmetic Operators: Mismatched delimiters?
Hello you are missing a multiplication sign, in the denominator (line 2). Multiplication with parentheses is not supported witho...
1D Element Wise Arithmetic Operators: Mismatched delimiters?
Hello you are missing a multiplication sign, in the denominator (line 2). Multiplication with parentheses is not supported witho...
6年弱 前 | 0
回答済み
Please i need help on how to determine R squared for training, validation, testing and ALL in neural network with a simple code.
"..........Each time I click on plotregression, I see thier R2......" Hello, point of correction; regression plots of your mode...
Please i need help on how to determine R squared for training, validation, testing and ALL in neural network with a simple code.
"..........Each time I click on plotregression, I see thier R2......" Hello, point of correction; regression plots of your mode...
6年弱 前 | 1
| 採用済み
回答済み
How do I adjust the binwidth of histfit while keeping a fixed bin number
Hello, assuming you have a random plot for your data as: bt=betarnd(4,8,100,1); hnd=histfit(bt,8,'beta'); % The default bar w...
How do I adjust the binwidth of histfit while keeping a fixed bin number
Hello, assuming you have a random plot for your data as: bt=betarnd(4,8,100,1); hnd=histfit(bt,8,'beta'); % The default bar w...
6年弱 前 | 0
回答済み
Write several 1x101 vectors to table for Latex
Hello, this should do nicely: A = AS_V'; % taking transpose to get a column vector of size 101x1 B = NeNMF_V';% taking transpo...
Write several 1x101 vectors to table for Latex
Hello, this should do nicely: A = AS_V'; % taking transpose to get a column vector of size 101x1 B = NeNMF_V';% taking transpo...
6年弱 前 | 0
| 採用済み
回答済み
Making my answer show in matrix form
% Try this % preallocate an array "coords" coords=zeros(2,7); for n=1:7 coords(1,n)=-(xfactor*trav(n,4)+(dxdy(n,1)); % x...
Making my answer show in matrix form
% Try this % preallocate an array "coords" coords=zeros(2,7); for n=1:7 coords(1,n)=-(xfactor*trav(n,4)+(dxdy(n,1)); % x...
6年弱 前 | 0
回答済み
plot graphic with different color
Hello, with logical indexing, you could create two separate pairwise sets of data, with one set comprised of plots of x versus y...
plot graphic with different color
Hello, with logical indexing, you could create two separate pairwise sets of data, with one set comprised of plots of x versus y...
6年弱 前 | 0
回答済み
I cant solve linear programming
I think you should try to go with all that has been advised. To obtain an optimal solution, your problem will require specificat...
I cant solve linear programming
I think you should try to go with all that has been advised. To obtain an optimal solution, your problem will require specificat...
6年弱 前 | 0
| 採用済み
回答済み
How to make one colorbar for a 2x2 subplot
Hello, to see the tick marks on the colorbar with their corresponding numerical labels, you could do it manually from the figure...
How to make one colorbar for a 2x2 subplot
Hello, to see the tick marks on the colorbar with their corresponding numerical labels, you could do it manually from the figure...
6年弱 前 | 0
回答済み
Rename excel worksheets based on other file names in a folder
Hello, i think i've dealt with a previous question from you about writing files to different sheets. However, i do not think you...
Rename excel worksheets based on other file names in a folder
Hello, i think i've dealt with a previous question from you about writing files to different sheets. However, i do not think you...
6年弱 前 | 0
| 採用済み
回答済み
Error: Unable to perform assignment because the left and right sides have a different number of elements.
You are using a double for loop. I advise its best to use something like this for ii=1:24 for jj=1:24 z(ii,jj)=no...
Error: Unable to perform assignment because the left and right sides have a different number of elements.
You are using a double for loop. I advise its best to use something like this for ii=1:24 for jj=1:24 z(ii,jj)=no...
6年弱 前 | 0
| 採用済み
回答済み
How to plot y for a range of T values
Hello, you could create an anonymous function and pass the values of "T" through this anonymous function. Watchout for the eleme...
How to plot y for a range of T values
Hello, you could create an anonymous function and pass the values of "T" through this anonymous function. Watchout for the eleme...
6年弱 前 | 1
回答済み
How to adjust the time digits in this code?
Hello, this should correct your problem. Where the comments are, is where i have made changes. The rest of your code remains the...
How to adjust the time digits in this code?
Hello, this should correct your problem. Where the comments are, is where i have made changes. The rest of your code remains the...
6年弱 前 | 1
| 採用済み
回答済み
export a cell array with same size matrices to excel
Hello, something like this should do nicely: % Taking "C" to be your cell array, and your excel file as: "myfile.xlsx" for k=1...
export a cell array with same size matrices to excel
Hello, something like this should do nicely: % Taking "C" to be your cell array, and your excel file as: "myfile.xlsx" for k=1...
6年弱 前 | 0
| 採用済み
回答済み
How can i count how many times does a temperature goes through in a loop
A for loop may not be necessary. you could use lt temps=[30, 45, 60, 15, 70, 25]; val32=temps(lt(temps,32)); % this will retur...
How can i count how many times does a temperature goes through in a loop
A for loop may not be necessary. you could use lt temps=[30, 45, 60, 15, 70, 25]; val32=temps(lt(temps,32)); % this will retur...
6年弱 前 | 0
回答済み
how can I see the x and y value table from an equation on matlab
Hello, you could create a table from your variables using table Tbl=table(x',y1',y2','VariableNames',{'x','y1','y2'}); In case...
how can I see the x and y value table from an equation on matlab
Hello, you could create a table from your variables using table Tbl=table(x',y1',y2','VariableNames',{'x','y1','y2'}); In case...
6年弱 前 | 0
回答済み
Multiple values of x what will be code
While your question may not be so clear, from my understanding, you are trying to find a vector,"Y" from a vector of "X" values....
Multiple values of x what will be code
While your question may not be so clear, from my understanding, you are trying to find a vector,"Y" from a vector of "X" values....
6年弱 前 | 0
回答済み
Saddle points of a 2D matrix
Hello, i think something like this should do nicely: % To check which element is the smallest in its column, and biggest in its...
Saddle points of a 2D matrix
Hello, i think something like this should do nicely: % To check which element is the smallest in its column, and biggest in its...
6年弱 前 | 0
回答済み
write text in file
You can use fprintf. The link below should give you more clarity based on the data you are saving: https://mathworks.com/help/m...
write text in file
You can use fprintf. The link below should give you more clarity based on the data you are saving: https://mathworks.com/help/m...
6年弱 前 | 0
回答済み
Help Defining Variable Contained Within Summation Notation, and Using this Variable for Plot
Hello, you could use nested for loop. But i envision this running into an "Out of memory" problem sheerly based on the length of...
Help Defining Variable Contained Within Summation Notation, and Using this Variable for Plot
Hello, you could use nested for loop. But i envision this running into an "Out of memory" problem sheerly based on the length of...
6年弱 前 | 0
| 採用済み
回答済み
How to create a scalar set of values
Hello, using arrayfun could be more efficient: % Taking your vector, say "P" to compute real "v_real" using "arrayfun". "arrayf...
How to create a scalar set of values
Hello, using arrayfun could be more efficient: % Taking your vector, say "P" to compute real "v_real" using "arrayfun". "arrayf...
6年弱 前 | 0
回答済み
A problem with using generalized code
Hello, the problem stems from the value of your column index; "4". You should be indexing column "5" instead on line 4 of the la...
A problem with using generalized code
Hello, the problem stems from the value of your column index; "4". You should be indexing column "5" instead on line 4 of the la...
6年弱 前 | 1
| 採用済み
回答済み
Multiple selection of an array
Hello, based on the indexing used in your question, i think something like this could do: % Assuming your matrix or vector to b...
Multiple selection of an array
Hello, based on the indexing used in your question, i think something like this could do: % Assuming your matrix or vector to b...
6年弱 前 | 1
| 採用済み
回答済み
Pre allocation in matlab
leng=length(v); % length of a vector pA=zeros(1,leng); % pre-allocation with zeros
Pre allocation in matlab
leng=length(v); % length of a vector pA=zeros(1,leng); % pre-allocation with zeros
6年弱 前 | 0
回答済み
Eliminate the table inside a cell, if any NaN exists inside that table.
Hello, cellfun should do nicely CL=cellfun(@(x) any(isfinite(x.precip)),NewC2LatLon); CSelect=NewC2LatLon(CL); % Final cell ar...
Eliminate the table inside a cell, if any NaN exists inside that table.
Hello, cellfun should do nicely CL=cellfun(@(x) any(isfinite(x.precip)),NewC2LatLon); CSelect=NewC2LatLon(CL); % Final cell ar...
6年弱 前 | 1
| 採用済み
回答済み
Box plots for Kruskal-Wallis
Hello, when the end point of a notch is lower than the 25th quartile of your data, that folding effect will occur. This effect i...
Box plots for Kruskal-Wallis
Hello, when the end point of a notch is lower than the 25th quartile of your data, that folding effect will occur. This effect i...
6年弱 前 | 0
| 採用済み
回答済み
Differentiation of the position vector.
Hello, you could make use of the symbolic math toolbox. The page below should get you started: https://mathworks.com/help/symbo...
Differentiation of the position vector.
Hello, you could make use of the symbolic math toolbox. The page below should get you started: https://mathworks.com/help/symbo...
6年弱 前 | 0
| 採用済み
回答済み
how to write a programme in matlab comparing USA states name with english alphabets, and give the unmatch letter Q as a output.. ?
you could use regexp. Refer to the link below: https://mathworks.com/help/matlab/ref/regexp.html
how to write a programme in matlab comparing USA states name with english alphabets, and give the unmatch letter Q as a output.. ?
you could use regexp. Refer to the link below: https://mathworks.com/help/matlab/ref/regexp.html
6年弱 前 | 0
回答済み
Select columns from a table and add them into another table
Hello, you don't need to use "groupsummary" or "vertcat" for this. Instead use; "addvars". I think this should do nicely: % Ta...
Select columns from a table and add them into another table
Hello, you don't need to use "groupsummary" or "vertcat" for this. Instead use; "addvars". I think this should do nicely: % Ta...
6年弱 前 | 1
| 採用済み
回答済み
hello, how to make a program of aggregate blending in matlab?
Hello, this might require quite some work. But to get you started, you need to first import your gradation data for different ag...
hello, how to make a program of aggregate blending in matlab?
Hello, this might require quite some work. But to get you started, you need to first import your gradation data for different ag...
6年弱 前 | 0
| 採用済み





