Community Profile

photo

fred ssemwogerere


Last seen: 약 1달 전
89 2019 이후 총 참여 횟수

fred ssemwogerere's 배지

  • Knowledgeable Level 3
  • Community Group Solver
  • Introduction to MATLAB Master
  • Revival Level 1
  • First Answer
  • Solver

세부 정보 보기...

참여 게시물
보기 기준

해결됨


Interpolator
You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

약 1달 전

답변 있음
1D Element Wise Arithmetic Operators: Mismatched delimiters?
Hello you are missing a multiplication sign, in the denominator (line 2). Multiplication with parentheses is not supported witho...

약 1달 전 | 0

답변 있음
Writing 2 vectors within matrix
Hello, use reshape M=reshape(J,[3,3])';

약 2달 전 | 0

해결됨


Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

약 2달 전

답변 있음
Please i need help on how to determine R squared for training, validation, testing and ALL in neural network with a simple code.
"..........Each time I click on plotregression, I see thier R2......" Hello, point of correction; regression plots of your mode...

약 2달 전 | 1

| 수락됨

해결됨


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

약 2달 전

해결됨


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

약 2달 전

해결됨


Create a vector
Create a vector from 0 to n by intervals of 2.

약 2달 전

해결됨


Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

약 2달 전

해결됨


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

약 2달 전

해결됨


Find max
Find the maximum value of a given vector or matrix.

약 2달 전

해결됨


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

약 2달 전

해결됨


Inner product of two vectors
Find the inner product of two vectors.

약 2달 전

해결됨


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

약 2달 전

답변 있음
How do I adjust the binwidth of histfit while keeping a fixed bin number
Hello, assuming you have a random plot for your data as: bt=betarnd(4,8,100,1); hnd=histfit(bt,8,'beta'); % The default bar w...

약 2달 전 | 0

답변 있음
Write several 1x101 vectors to table for Latex
Hello, this should do nicely: A = AS_V'; % taking transpose to get a column vector of size 101x1 B = NeNMF_V';% taking transpo...

약 2달 전 | 0

| 수락됨

답변 있음
Making my answer show in matrix form
% Try this % preallocate an array "coords" coords=zeros(2,7); for n=1:7 coords(1,n)=-(xfactor*trav(n,4)+(dxdy(n,1)); % x...

약 2달 전 | 0

답변 있음
plot graphic with different color
Hello, with logical indexing, you could create two separate pairwise sets of data, with one set comprised of plots of x versus y...

약 2달 전 | 0

답변 있음
I cant solve linear programming
I think you should try to go with all that has been advised. To obtain an optimal solution, your problem will require specificat...

약 2달 전 | 0

| 수락됨

답변 있음
How to make one colorbar for a 2x2 subplot
Hello, to see the tick marks on the colorbar with their corresponding numerical labels, you could do it manually from the figure...

약 2달 전 | 0

답변 있음
Rename excel worksheets based on other file names in a folder
Hello, i think i've dealt with a previous question from you about writing files to different sheets. However, i do not think you...

약 2달 전 | 0

| 수락됨

답변 있음
Error: Unable to perform assignment because the left and right sides have a different number of elements.
You are using a double for loop. I advise its best to use something like this for ii=1:24 for jj=1:24 z(ii,jj)=no...

약 2달 전 | 0

| 수락됨

답변 있음
How to plot y for a range of T values
Hello, you could create an anonymous function and pass the values of "T" through this anonymous function. Watchout for the eleme...

약 2달 전 | 1

답변 있음
How to adjust the time digits in this code?
Hello, this should correct your problem. Where the comments are, is where i have made changes. The rest of your code remains the...

약 2달 전 | 1

| 수락됨

답변 있음
export a cell array with same size matrices to excel
Hello, something like this should do nicely: % Taking "C" to be your cell array, and your excel file as: "myfile.xlsx" for k=1...

약 2달 전 | 0

| 수락됨

답변 있음
How can i count how many times does a temperature goes through in a loop
A for loop may not be necessary. you could use lt temps=[30, 45, 60, 15, 70, 25]; val32=temps(lt(temps,32)); % this will retur...

약 2달 전 | 0

답변 있음
how can I see the x and y value table from an equation on matlab
Hello, you could create a table from your variables using table Tbl=table(x',y1',y2','VariableNames',{'x','y1','y2'}); In case...

약 2달 전 | 0

답변 있음
Multiple values of x what will be code
While your question may not be so clear, from my understanding, you are trying to find a vector,"Y" from a vector of "X" values....

약 2달 전 | 0

답변 있음
Saddle points of a 2D matrix
Hello, i think something like this should do nicely: % To check which element is the smallest in its column, and biggest in its...

약 2달 전 | 0

답변 있음
write text in file
You can use fprintf. The link below should give you more clarity based on the data you are saving: https://mathworks.com/help/m...

약 2달 전 | 0

Load more