Feeds
提问
linear combination of vector and permutation
Hi, i' m developing a program where I find myself with this problem that I couldn't solve nem with combntns(v,k) or with nchoos...
2 years 前 | 3 个回答 | 0
3
个回答提问
How to implement the function meijerG
Hi! How's it going ? I am solving a scientific article and I find myself with a difficulty. Does anyone here have the doma...
3 years 前 | 0 个回答 | 0
0
个回答提问
How to declare input variables as a vector?
Given function [y1,...,yN] = myfun(x1,...,xM) In matlab is it possible that the input variable x1 is a vector?
3 years 前 | 1 个回答 | 0
1
个回答提问
I need help on a logical vector
Hello, I hope everyone is okay. I have a question regarding a logical vector. let's suppose I have the vector d=0.1:0.1:0.6...
3 years 前 | 1 个回答 | 0
1
个回答提问
How can I modify the values of the y axes
Hello! How are you? How can I modify the values of the y axes? For example, let's suppose that when summing a figure, I get...
3 years 前 | 1 个回答 | 0
1
个回答提问
How to optimize the calculation of the mean between the elements of A and B efficiently?
hello, everything okay ? if A=[a1 a2 a3 a4 a5 ..................an] and B=[b1 b2 b3 b4 b5 ...............bn] How to optimize...
4 years 前 | 1 个回答 | 0
1
个回答提问
how can I organize an array removing null elements and keep the same structure
Hello, everything okay? if A=[0 2 3 4 0 6; 0 6 8 10 0 10] end if wont to B= [2 3 4 6; 6 8 10 10]
4 years 前 | 1 个回答 | 0
1
个回答提问
how to add labels to the elements of a vector.
hello, everything okay? Is it possible to label the elements of a vector? To later know in what position is it at a certain mo...
4 years 前 | 1 个回答 | 0
1
个回答提问
organize vector, difference between adjacent elements of a vector
Hello, everything okay? How can I automate this sequence? if A=[ a ,b, c ,d ,e, ..........] outA=[ A(1)-2 , ((A(1)-2)+(A(2...
4 years 前 | 2 个回答 | 0
2
个回答提问
Compare vector index and update it
if A=[300 499 599 866 886 1000] valores stored value n1=[1 2 6 ] the position that n1 occupies in A. for exemple n1(1)=300,...
4 years 前 | 0 个回答 | 0
0
个回答提问
difference between adjacent elements of a vector
If I need to calculate the difference between the adjacent elements and know the size of the vector a priori, you will know what...
4 years 前 | 1 个回答 | 0
1
个回答提问
Organize vector, extract indices
Hello, everything okay? How can I efficiently do the following are between one by one in vector A? A=[2 4] B=[2 70 8 29 98 10...
4 years 前 | 1 个回答 | 0
1
个回答提问
Vector access and manipulation
Hello everyone, Let's say I'm doing a certain task and have to call a function. Let's also say that there is a vector Vec = [a...
4 years 前 | 1 个回答 | 0
1
个回答提问
How can I solve a problem related to the output argument.
% I will make the code simpler. Let's assume I have this code. And depending on the input value I want to show assign a=10 an...
4 years 前 | 2 个回答 | 0
2
个回答提问
How do I use function for a function which has a matrix with variable index?
function[PacksA,PacksB,ContA,ContB,AR,BR,fA,fB]=OutAR_NotOutBR(i,Max,AR,BR,fB,fA,ContB) if AR<Max %Pack...
4 years 前 | 1 个回答 | 0
1
个回答提问
How do I use function for a function which has a matrix with variable index?
function[PacksA,PacksB,ContA,ContB,AR,BR,fA,fB]=OutAR_NotOutBR(i,Max,AR,BR,fB,fA,ContB) if AR<Max %PacksB,...
4 years 前 | 1 个回答 | 0
1
个回答提问
create a while loop with varying conditions.
How can I make a while script capable of performing the following task: A = [A1 A2 A3 .............. An] B an abitrary value ...
4 years 前 | 0 个回答 | 0
0
个回答提问
WHILE loop with a condition on a vector and Scalar
PacksA=zeros(1,10); j=1; n=1; B=10 while PacksA(n,n:j)<B i=i+1; j=j+1; if j>10 break end #...
4 years 前 | 0 个回答 | 0