Community Profile

photo

Eng. Fredius Magige


Dar Es Salaam

2015년부터 활동

Followers: 0   Following: 0

연락

Water Infrastructural Design and O&M engineering, Piped systems Design and Optimization, Billing system design and development

통계

  • Revival Level 2
  • Thankful Level 1
  • Knowledgeable Level 2
  • First Answer

배지 보기

Feeds

보기 기준

답변 있음
How to optimize a very large CO2 piping distribution network in matlab using optimization function in matlab?
Hi Why not use GA tool; if your network is branches; it is a simple problem as longer as you have proposed minimum residual he...

4년 초과 전 | 0

답변 있음
how to plot segments with different colors
Hi You could turn to "g/gplot" then select the column/row as coloring characteristics as "weigh" properties requirement. It wil...

거의 5년 전 | 0

답변 있음
could I use gplot in different linewidths and colors; how?/
Hi MatLab community I got the answers through new MatLab version, 2018. All line properties are analysed by gplot/g graph capab...

거의 5년 전 | 0

| 수락됨

답변 있음
Is it possible gplot to have different line size, any help appreciated too
The new release MatLab has gplot/g with capability to generate different line width with colors by weight characteristics/functi...

거의 5년 전 | 0

질문


could I use gplot in different linewidths and colors; how?/
hi all Could I use gplot to produce analytical hydraulics. As, I suppose to have output of different pipe diameters (different ...

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


how could i search error from code/script, i am using R2010b
how could i search error from code/script, i am using R2010b

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

0

답변

답변 있음
Is there a way to use find function if I know there will be some empty sets?
Hi modify and use switch case, as go the second if the first fond empty set ([ ]) Thanks

6년 초과 전 | 0

질문


How can I incoporate logics of and/or in switch case problem
How can I use/incorporate and adoption of logic (and/or) combination in switch case problem. Any assistance is appreciated too ...

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

1

답변

답변 있음
Undefined function 'log' for input arguments of type 'table'.
Hi Why not try: Ln_P=log10(Price); Ln_X=log10(X);

대략 7년 전 | 0

답변 있음
Undefined function 'log' for input arguments of type 'table'.
Hi try: log10 it should work

대략 7년 전 | 0

답변 있음
access the row and col of a matrix
call it as: call=A(2,3)

대략 7년 전 | 0

답변 있음
misbehaving of sort function, for looping the first and last rows not orienting to my expected results and well as specified indexes not corrects
Hi all my collegues, I got best answer by manipulation of sort as: [AA BB]=sort(Graptable(:,[12:21,1:11])); Graptable = Gra...

대략 7년 전 | 0

| 수락됨

질문


misbehaving of sort function, for looping the first and last rows not orienting to my expected results and well as specified indexes not corrects
Hi misbehaving of sort function, for looping the first and last rows not orienting to my expected results and well as specified...

대략 7년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Directed Graph with Node IDs as String
Hi Gplot with adjacency matrix is good option for multidirective graph, Thanks

7년 초과 전 | 0

답변 있음
Is there any limit in no: of variables that can be solved using matlab?
Hi Iam not sure with limitation; I developed more than 100 pages with more than 5000 variable in 2010b, and seem Matlab is OK t...

7년 초과 전 | 0

질문


Warning: Rank deficient, rank
I am calling some element/indexing from matrix to allocate some element in another matrix (not having the same row and column). ...

7년 초과 전 | 답변 수: 1 | 0

1

답변

답변 있음
I have a matrix with 161*2 with one column as distance to say x- axis and y- axis to be corresponding height. But I would like to scale the x-axis to 10000 points and I want particular height at a particular distance?
Hi Use find function as long as you specific what you want by searching intended variable, either X or y column; note that any ...

8년 초과 전 | 0

답변 있음
how i can convert a matrix to a adjacency matrix
Adjacency matrix is characterised by its squared indexes (row X column) the same. It seem you have only two character from your ...

8년 초과 전 | 1

답변 있음
Related to the memory and execution time calculation for any model in MATLAB 2013a and CCS v5.5
For in case of execution time for Maltab is normally introducing tic at intended location initial or middle and toc function at ...

8년 초과 전 | 0

답변 있음
Finding a value in a column from a change in another column in a matrix?
Hi Use for in association with find function looking exact Nii_Ni=0.0001; note the last and first N need some manipulation, thi...

8년 초과 전 | 0

답변 있음
how to use if else of for loops to manipulate matrices
For can assist you in searching each index in sequence order through find function as long you know/specify appropriate conditio...

8년 초과 전 | 0

답변 있음
I need help with defining while loops?
Your increment is missing which support to allow application of while. Both if and else are inner within wile loop as well as to...

8년 초과 전 | 0

답변 있음
In an assignment A(I) = B, the number of elements in B and I must be the same.
A1=[]; >> for i=1:2; i=i A1(1,1)=i.*-1 A1(1,2)=1 %k==i, you mean that A1=[A1; []] % or you mean this A1' end

8년 초과 전 | 0

답변 있음
How to solve "Index exceeds matrix dimensions" error?
Hi It might need to recalling as ready reduced the row, thus try this: StayCell=StayCell for i=1:size(StayCell,1) if StayC...

8년 초과 전 | 0

| 수락됨

답변 있음
inner matrix must agree using *
Hi, it might be A= poly(1j.*wc.*exp((1j.*pi)./((2.*k)*(2.*k-1))))

8년 초과 전 | 0

답변 있음
Base station location optimisation-matlab
Hi visting www.yarpiz.com or search and modify * _SPEA2_*, it play alot in optimisation; note that: % Copyright (c) 2...

8년 초과 전 | 0

질문


Adjacency mathematical model code which could simplify entering 1 or 0 in adjacency matrix, assume in the environment of million nodes
Hi matlab community Do we have any coded adjacency mathematical model which could simplify entering 1 or 0 in adjacency matrix...

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

0

답변

답변 있음
How to pass control from one loop to the other loop
try this for n=1:100000 if(find(sample(:)==0.01,1)=<find(sample(:)==0.01,2)) % sample is your data num=-1*sa...

8년 초과 전 | 0

답변 있음
Infinite while loop for iterating data
Hi you data MM not involved and should be called for execution MM=[] % being known as first matrix I think for i = 1:lengt...

8년 초과 전 | 0

답변 있음
Plotting in for loop not working. Averaging matrix over ranges.
Hi You might review few lines, specially for and if, as to be: for d=1:3:max(datafile.data(:,28)) %max is around 16 ...

8년 초과 전 | 0

더 보기