![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13462391_1601081013476.jpg)
SAA
Followers: 0 Following: 0
A chemical engineering student at UMICH
Feeds
已回答
Search for number in table column
since you're working with numbers I think something like this should work: % your thing.... for i = 1:height(YourTable) ...
Search for number in table column
since you're working with numbers I think something like this should work: % your thing.... for i = 1:height(YourTable) ...
4 years 前 | 0
已提交
RandomWalk
Random particle movement in 3D. This was something that I made while was in the process of making a DLA simulation which I might...
4 years 前 | 2 次下载 |
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
4 years 前
已回答
Character Vector to Character Cell Array
If you only have a logical character vector why do you want them all to be in a cell arrays and not just a matrix? But anyhow th...
Character Vector to Character Cell Array
If you only have a logical character vector why do you want them all to be in a cell arrays and not just a matrix? But anyhow th...
4 years 前 | 0
已回答
How to get specific values from matrix in column 1, based on values in other columns?
If I understood your question correctly this should work: a = find(sub01T2(:,2)==1 & sub01T2(:,3)==1); b = sub01T2(a,1); you ...
How to get specific values from matrix in column 1, based on values in other columns?
If I understood your question correctly this should work: a = find(sub01T2(:,2)==1 & sub01T2(:,3)==1); b = sub01T2(a,1); you ...
4 years 前 | 0
| 已接受
已回答
Can't seem to get the values right. help?
The wait time and distance count as a whole and since they don't wanna round down ( they don't wanna even give a free centimeter...
Can't seem to get the values right. help?
The wait time and distance count as a whole and since they don't wanna round down ( they don't wanna even give a free centimeter...
4 years 前 | 0
已回答
how to display how many looping are working on
you can just type x in yout loop and see what it is TTI=1000; for x=1:TTI [r_TxPU_TTI(:,x), r_TxPU_RxPU_TTI(:,x),...
how to display how many looping are working on
you can just type x in yout loop and see what it is TTI=1000; for x=1:TTI [r_TxPU_TTI(:,x), r_TxPU_RxPU_TTI(:,x),...
4 years 前 | 0
已回答
How to calculate compound interest?
It sounds like this is a copy paste of an assignment but ok P = 1000; % principle r=0.1; n=2; debt = P*(1+r)^n
How to calculate compound interest?
It sounds like this is a copy paste of an assignment but ok P = 1000; % principle r=0.1; n=2; debt = P*(1+r)^n
4 years 前 | 0
已回答
Create a matrix "z" which has the same elements as "x". If any entry in "z" % is even, increase that entry by one.
What is the part that you're stuck on? you need to use a for loop and an if else like this: .... % defining your variables and...
Create a matrix "z" which has the same elements as "x". If any entry in "z" % is even, increase that entry by one.
What is the part that you're stuck on? you need to use a for loop and an if else like this: .... % defining your variables and...
4 years 前 | 1
| 已接受
已回答
How to define a function CalculatePyramidVolume with inputs baseLength, baseWidth, and pyramidHeight
This is the function part: function [VP] = PyramidVolume(l,w,h) VP=(1/3)*l*w*h end You need to call it in a script like thi...
How to define a function CalculatePyramidVolume with inputs baseLength, baseWidth, and pyramidHeight
This is the function part: function [VP] = PyramidVolume(l,w,h) VP=(1/3)*l*w*h end You need to call it in a script like thi...
4 years 前 | 1
已回答
How to code gaussian error function
Matlab has a built in function for both the error function and the complimentary error function. erf erfc https://www.mathwor...
How to code gaussian error function
Matlab has a built in function for both the error function and the complimentary error function. erf erfc https://www.mathwor...
4 years 前 | 0
| 已接受
已回答
How to set a function for error propagation
Yes you need to deinfe a b da and db either in the function or in your script before you call the function and also let them be ...
How to set a function for error propagation
Yes you need to deinfe a b da and db either in the function or in your script before you call the function and also let them be ...
4 years 前 | 0
| 已接受
已回答
How can I incorporate values of An and Bn into matrix C? Matrix C output at the end of for loop is still values from X = randn
You should change An and Bn to 1 and 2, MATLAB's indexing starts from 1 not zero so everytime i = 2 you'll get an error since An...
How can I incorporate values of An and Bn into matrix C? Matrix C output at the end of for loop is still values from X = randn
You should change An and Bn to 1 and 2, MATLAB's indexing starts from 1 not zero so everytime i = 2 you'll get an error since An...
4 years 前 | 0
| 已接受
已回答
Add string to matrix and other operations and then generate text file
You can't put chars in a matrix you need to use a cell array for this, then do a cell2table and eventually to get a txt file do ...
Add string to matrix and other operations and then generate text file
You can't put chars in a matrix you need to use a cell array for this, then do a cell2table and eventually to get a txt file do ...
4 years 前 | 0
已回答
Index in position 1 exceeds array bounds (must not exceed 1). How do I fix this error?
Anew and Bnew are not integers, you define a and b as cells with chars then use cell2mat but they are still not integers so you'...
Index in position 1 exceeds array bounds (must not exceed 1). How do I fix this error?
Anew and Bnew are not integers, you define a and b as cells with chars then use cell2mat but they are still not integers so you'...
4 years 前 | 0
| 已接受
已回答
How should I find the x value of the given y value?
I am not sure if you can find an exact value since you are trying to compare 2 doubles and that's usually not a good idea, but y...
How should I find the x value of the given y value?
I am not sure if you can find an exact value since you are trying to compare 2 doubles and that's usually not a good idea, but y...
4 years 前 | 0
已回答
For loop is not repeating the specified number of times
you can only loop through integers, so you should do something like this: ..... dt=4:0.1:12; for d= 4:length(dt) ..... end ...
For loop is not repeating the specified number of times
you can only loop through integers, so you should do something like this: ..... dt=4:0.1:12; for d= 4:length(dt) ..... end ...
4 years 前 | 0
| 已接受
已回答
how to append cells
reshape(cell2mat('your cell'),[n,m]) n by m being your dimensions
how to append cells
reshape(cell2mat('your cell'),[n,m]) n by m being your dimensions
4 years 前 | 0
提问
change the data tip percision
Hello, How can I change the number of digits in my data tip window like if I want my X to have 8 numbers after the decimal poin...
4 years 前 | 1 个回答 | 0
1
个回答提问
Making my own operator
How can I make my own operator and apply it to a function like I want my operator () my function
5 years 前 | 1 个回答 | 0