已回答
Calculating average and standard deviation for element correction factor from excel file
Hello, this should do nicely; % Assuming your spreadsheet file is in the current (working) Matlab folder optns=detectImportOpt...

4 years 前 | 0

| 已接受

已回答
Create new matrix with compine values
Hello, this should do nicely using a 3D-cell array: a = [0 0 1; 1 0 0; 1 0 1]; b = [1 0 1; 1 1 1;1 1 1]; c= [0 0 0 ; 1 0 0...

4 years 前 | 0

已回答
The size of X must match the size of Z or the number of columns of Z.
Hello, it is best practice to to attach your line of code (with comments), in the code description box provided for by the Matla...

4 years 前 | 0

已回答
Get the value of a cell that is in the same row of matching cell in excel to matlab
Hello, this can do nicely; % Am assuming your file,"myfile.xlsx" (arbitrary name), is an excel file, and in the current (workin...

4 years 前 | 0

| 已接受

已回答
Run this code for every certain columns of tables in a cell and saving the result in new cell
Hello, I have taken a look at your workspace variable ("C"), and i think you should consider writing that program as a function ...

4 years 前 | 1

| 已接受

已回答
How to get general interval from a string with regexp
Hello, making use of your string, with some modification, this should do nicely: str="... X 1.5-2.8 mm X -2.5--3.3 mm... "; ex...

4 years 前 | 0

已回答
How to take mean of each row/column of matrix with while loop
Hello, this should do nicely; % If you want to calculate the average for each row: A=[1 2 3 4;4 3 2 1;3 2 1 4]; m=0;Z=zeros(s...

4 years 前 | 1

已回答
Find solution for two matrix, ome has symbolic unknown in it
One option is to use the "solve" function, with independent asssignment of equations in your matrix: "answer" to each value of t...

4 years 前 | 0

已回答
How to display result from solve ?
what are you trying to do here? Xr2 = [' R2 = ',num2str(S(2),16)]; This should do nicely: Xr2 = [' R2 = ',int2str(S(2))]; ...

4 years 前 | 1

已回答
Change the alignment and font size of edgelabels
Hello, I think something like this can work nicely: % Edit the last line of your code to: h=plot(G,'Layout','force'); h.EdgeL...

4 years 前 | 0

已回答
How to find rng No. of a trained network ?
Hello, it is always good practice to initiate the random number generator before training. This can be seeded with a number of y...

4 years 前 | 0

已回答
how to extract data from an text file?
% what does the 'w' mean? 'w' gives write access permission to the file % also, what does ''%4.4f\n'' mean? This is a format...

4 years 前 | 0

已回答
how to extract data from an text file?
Hello, there are a number of ways to go about this. Please refer to the following links: https://mathworks.com/help/matlab/ref/...

4 years 前 | 0

| 已接受

已回答
How do I save a figure as the title of the figure?
This should do nicely for you. handle=figure; title_name='WT 0HR'; title(title_name, 'fontsize', 20); surf(xi, yi, Z); save...

4 years 前 | 0

| 已接受

已回答
Splitting a cell array of multi-word strings into a cell array of single-word strings
I think this can do nicely: SingleColumnStrings=cellstr(strsplit(strjoin(string({'Here is my First String';'Now a second string...

4 years 前 | 0

| 已接受

已回答
use of modulus in matlab
Please refer to the matlab documentation in your version of the software and search for: "abs". Alternatively refer to: https:/...

4 years 前 | 1

已回答
How to calculate the hat matrix for a linear model?
Hello, computations of the Hat matrix from predictors (observations) and the targets-fitted model values are expected to present...

4 years 前 | 0

已回答
How can I plot a neural network?
Hello, with the latest Matlab version 2019b, you are availed with a wide range of functions that can do this job for you. With m...

4 years 前 | 0

提问


Artificial Neural Network (ANN) Regression Fitting (fitnet) difference in R2 (r-squared) values calculated from NMSE (Normalized Mean Square Error) and best performance data values from the training record (tr)
Hello Community,first and foremost am grateful for all your posts and answers. They have proved to be invaluable and of great he...

5 years 前 | 0 个回答 | 0

0

个回答