문제를 풀었습니다


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

대략 6년 전

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

대략 6년 전

문제를 풀었습니다


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...

대략 6년 전

문제를 풀었습니다


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

대략 6년 전

답변 있음
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...

대략 6년 전 | 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...

대략 6년 전 | 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 ...

대략 6년 전 | 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...

대략 6년 전 | 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...

대략 6년 전 | 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...

대략 6년 전 | 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))]; ...

대략 6년 전 | 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...

대략 6년 전 | 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...

대략 6년 전 | 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...

대략 6년 전 | 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/...

대략 6년 전 | 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...

대략 6년 전 | 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...

대략 6년 전 | 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:/...

대략 6년 전 | 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...

대략 6년 전 | 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...

대략 6년 전 | 0

문제를 풀었습니다


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

6년 초과 전

문제를 풀었습니다


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

6년 초과 전

문제를 풀었습니다


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

6년 초과 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

6년 초과 전

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

6년 초과 전

문제를 풀었습니다


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

6년 초과 전

문제를 풀었습니다


Return area of square
Side of square=input=a Area=output=b

6년 초과 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

6년 초과 전

질문


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

6년 초과 전 | 답변 수: 0 | 0

0

답변