Feeds
답변 있음
Solve equation without symbolic math toolbox
You can run this with two functions. The first function I have designated as myMain.m and it is written as.. r0 = rand(3,3...
Solve equation without symbolic math toolbox
You can run this with two functions. The first function I have designated as myMain.m and it is written as.. r0 = rand(3,3...
10년 초과 전 | 0
| 수락됨
답변 있음
I need to write a script that will prompt the user for four course numbers. Each will be a string of length 5 of the form ‘CS101’. These strings are to be stored in a character matrix.
This can be done in a structure setting as well which would probably make storage and recall easier, but to answer your question...
I need to write a script that will prompt the user for four course numbers. Each will be a string of length 5 of the form ‘CS101’. These strings are to be stored in a character matrix.
This can be done in a structure setting as well which would probably make storage and recall easier, but to answer your question...
10년 초과 전 | 0
답변 있음
Write a script that prompts the user for a string, error-checking until the user enters something (the error would occur if the user just hits the Enter key without any other characters first). The script then prints the length of the string.
This blurb of code is written to accept a string as an input. If you don't want it to accept only a string then you can get rid...
Write a script that prompts the user for a string, error-checking until the user enters something (the error would occur if the user just hits the Enter key without any other characters first). The script then prints the length of the string.
This blurb of code is written to accept a string as an input. If you don't want it to accept only a string then you can get rid...
10년 초과 전 | 0
답변 있음
How to implement something similar to Vlookup with different lenght's vectors??
Okay, I wrote a function that will do this for you. While I was attempting to pull the data from the files you supplied "Compan...
How to implement something similar to Vlookup with different lenght's vectors??
Okay, I wrote a function that will do this for you. While I was attempting to pull the data from the files you supplied "Compan...
10년 초과 전 | 0
| 수락됨
답변 있음
Error message - matrix dimensions must agree
Okay, I found them (I think). In line 104 that you reference above it looks like there are several variables referenced: A,a,t ...
Error message - matrix dimensions must agree
Okay, I found them (I think). In line 104 that you reference above it looks like there are several variables referenced: A,a,t ...
10년 초과 전 | 0
답변 있음
How to implement something similar to Vlookup with different lenght's vectors??
In order to provide you with a set of code to solve your problem I would have to know the database as a whole. However, to get ...
How to implement something similar to Vlookup with different lenght's vectors??
In order to provide you with a set of code to solve your problem I would have to know the database as a whole. However, to get ...
10년 초과 전 | 0
답변 있음
code for my integrals in Matlab!
If you want it done analytically, then you need to get the symbolic toolbox I believe.
code for my integrals in Matlab!
If you want it done analytically, then you need to get the symbolic toolbox I believe.
10년 초과 전 | 0
| 수락됨
답변 있음
Error message - matrix dimensions must agree
The .* is used whenever you have to arrays or matrices that you want to multiply each individual element with the corresponding ...
Error message - matrix dimensions must agree
The .* is used whenever you have to arrays or matrices that you want to multiply each individual element with the corresponding ...
10년 초과 전 | 0
질문
How do I convert a string input to an executable equation?
I am developing a nice GUI for my company (those who don't want to code). It will give them areas to add their equations and de...
10년 초과 전 | 답변 수: 3 | 0
3
답변답변 있음
Loop if for one j
You need to break out of the j-loop upon that condition and then condition a continue statement within the k-loop.
Loop if for one j
You need to break out of the j-loop upon that condition and then condition a continue statement within the k-loop.
10년 초과 전 | 0
| 수락됨
답변 있음
when i testing the datasets by inserting corrupted value i keep on getting the error such as ???index exceed matrix. what is the meaning??
testRecord is an array of 6 elements. You call an indexed value of testRecord within your for loop using testRecord(fix*6...
when i testing the datasets by inserting corrupted value i keep on getting the error such as ???index exceed matrix. what is the meaning??
testRecord is an array of 6 elements. You call an indexed value of testRecord within your for loop using testRecord(fix*6...
10년 초과 전 | 0
답변 있음
takespecific elements from matrix to build new one
If your original matrix is called A, then B = [A(1:10,:); A(31:end,:)];
takespecific elements from matrix to build new one
If your original matrix is called A, then B = [A(1:10,:); A(31:end,:)];
10년 초과 전 | 1
| 수락됨
답변 있음
How can we join two matrices of two dimmention
Write it as below assuming that matrix B and A are of the same dimension. C = [B;A];
How can we join two matrices of two dimmention
Write it as below assuming that matrix B and A are of the same dimension. C = [B;A];
10년 초과 전 | 0
답변 있음
Generating random integer from -x to x
xmin = -x; xmax = x; r = round((xmax-xmin).*rand(10,1)+xmin);
Generating random integer from -x to x
xmin = -x; xmax = x; r = round((xmax-xmin).*rand(10,1)+xmin);
10년 초과 전 | 0
| 수락됨
답변 있음
how to install curve fitting toolbox
I had this problem with all of my toolboxes. I had to go back and reinstall matlab.
how to install curve fitting toolbox
I had this problem with all of my toolboxes. I had to go back and reinstall matlab.
10년 초과 전 | 2
| 수락됨
답변 있음
How do i use Simpsons 1/3 function in matlab for this information??
Try this <http://www.mathworks.com/matlabcentral/fileexchange/33493-simpsons-13-and-38-rules/content/simpson.m code>.
How do i use Simpsons 1/3 function in matlab for this information??
Try this <http://www.mathworks.com/matlabcentral/fileexchange/33493-simpsons-13-and-38-rules/content/simpson.m code>.
10년 초과 전 | 0
답변 있음
Can Somebody help me to write this equation in Matlab to get the value of Lambda?
In order to calculate the left hand side (LHS) you'll want to determine when the nth term is small enough to neglect. The follo...
Can Somebody help me to write this equation in Matlab to get the value of Lambda?
In order to calculate the left hand side (LHS) you'll want to determine when the nth term is small enough to neglect. The follo...
10년 초과 전 | 0
| 수락됨
답변 있음
a simple Question about loops
You initialize v incorrectly. Try it this way.... a=[1 2 3 5 4 8]; v=ones(length(a)); v(1)=a(1); for k=2:length(a...
a simple Question about loops
You initialize v incorrectly. Try it this way.... a=[1 2 3 5 4 8]; v=ones(length(a)); v(1)=a(1); for k=2:length(a...
10년 초과 전 | 0
| 수락됨
답변 있음
How can I discretize a function so I can use it in a model?
The great thing about your question is that you already have the continuous functions. The greater challenge is usually finding...
How can I discretize a function so I can use it in a model?
The great thing about your question is that you already have the continuous functions. The greater challenge is usually finding...
10년 초과 전 | 0
| 수락됨
답변 있음
How can I remove the power of a matrix?
So, the reason Matlab displays data in that manner is to make the best use of the available real estate. However, if you still ...
How can I remove the power of a matrix?
So, the reason Matlab displays data in that manner is to make the best use of the available real estate. However, if you still ...
10년 초과 전 | 0
답변 있음
How to find max value of three varibles using if,else,end.
Give this code a shot. You would be able to make the variable "data" listed here as a vector of whatever data you like and this...
How to find max value of three varibles using if,else,end.
Give this code a shot. You would be able to make the variable "data" listed here as a vector of whatever data you like and this...
10년 초과 전 | 1
| 수락됨
답변 있음
index must be a positive integer or logical.
I'm still not reall clear on what you're looking for, but try this version of Marta's code... c1=3.29; c2=9.90; c3=0.77; ...
index must be a positive integer or logical.
I'm still not reall clear on what you're looking for, but try this version of Marta's code... c1=3.29; c2=9.90; c3=0.77; ...
10년 초과 전 | 0
| 수락됨
질문
How can I create a geometry in PDE toolbox to include entrance/exit plumbing with a packed column between?
I am attempting to model flow through a packed bed using the PDE toolbox. I am having a hard time with the geometry. I would l...
10년 초과 전 | 답변 수: 0 | 0
0
답변질문
Anyone have ideas on how to incorporate heat of reaction release into the 2d heat equation?
My system is a semi-solid (assume solid) body which starts out at T0 (temperature). Three sides of the solid are open to ambien...
거의 11년 전 | 답변 수: 0 | 0