**Statistics**

**MATLAB Answers**

**0** Questions

**67** Answers

RANK**419**

of 292 982

REPUTATION**182**

CONTRIBUTIONS

**0** Questions

**67** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**25**

RANK

of 19 988

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 148 279

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Error loading data into popup menu GUI

Hi Pedro, [Comp, Prod, OthInfo, colnames,numcolum]=extractdataexcelV2(handles.filename); *extractdataexcelV2* I have ...

nästan 7 år ago | 0

copy symbolic expession in a matrix form

you could write the symbolic variable into file (ex. .txt file) -> open the file -> select all -> copy

nästan 7 år ago | 0

How I can send data from a pushbutton to an edit box in GUI for mak an interface phone.

>> I am making a project of a DTMF and I d'ont arrive to send a value in a edit box. << NB of Samples and Amplitude are also ...

nästan 7 år ago | 0

function input and output

Hi Carl Narup, 1. u get access to the cell arrays with {} 2. if you want to compare strings use <https://de.mathworks.com/...

nästan 7 år ago | 0

Do I have to import an array into function workspace?

Hi laboratoryassist, every function got its own workspace and it is also different from the "base" workspace that you can se...

nästan 7 år ago | 0

| accepted

Extract every second value of a vector and write into a new vector

result = zeros(12,0); for i=1:1:6 result((i-1)*2+1)=BGx(i,1); result(i*2)=BGy(i,1); end

mer än 7 år ago | 2

| accepted

How to sum columns of multiple matrices?

final_sum=0; for i= 1:32 % splitted command as string: sum(VarNamei) final_sum=final_su...

mer än 7 år ago | 0

| accepted

matrix corresponing to the minimum value of the difference

DEAR CAPTAIN CAPSLOCK CANT READ YOUR CODE. BUT PEOPLE CONTINUE USING COMMANDS WITHOUT READING THE DOCUMENTATION. TRY MIN(D(:)...

mer än 7 år ago | 1

How to Generate a random variable with a defined correlation to an existing variable?

>> x1=[0.5;0.2;0.6;0.30;0.7] x1 = 0.5000 0.2000 0.6000 0.3000 0.7000 >> x2=0.7*x1 ...

mer än 7 år ago | 0

How can I write such an equation on Matlab?

i am not implementing your homework, i am just put the code in the right order so that it looks like you wanted it to do in the ...

mer än 7 år ago | 0

| accepted

How to find a minimum value that calculated from a formulation?

x=(50:100); y=(50:100); z=(15:50); Mrmin=Inf; for i=1:51 for j=1:51 for k=1:36 ...

mer än 7 år ago | 1

How can I write such an equation on Matlab?

In general you would write a recursiv function function result=rekursiv(xn) if xn==-1 result=missingInYourCode;...

mer än 7 år ago | 0

Show TEXT in static text for some time

if you dont need a generalized solution: for i=1:2 % else replace 2 with numel(handles.TagAnyListBox.string) handles.T...

mer än 7 år ago | 0

FIND A VECTOR IN R4

really? this does not look like homework, nooo [1 1 1 8] [1 2 4 100] [1 1 1 11]

mer än 7 år ago | 1

| accepted

Store output program to a 3 d array as matrix

A=cell(10,12); for user=1:10 for imageNumber= 1:12 % for this to work you will need some way to get the ...

mer än 7 år ago | 0

How to use ind2sub in this problem

you dont need to use ind2sub if you use max... copied from doc max _[M,I] = max(...) finds the indices of the maximum valu...

mer än 7 år ago | 0

| accepted

How to store the results from an iteration process?

maybe this does what you want clc clear all A = (1:10)'; x=[5 11]; C=zeros(length(A),length(x)); for i = 1...

mer än 7 år ago | 0

| accepted

Delete certain rows of a matrix based on specific values

Hi, i would call this a rather bitter solution for a beginner to understand, but it is short and it works, if you want to unde...

mer än 7 år ago | 1

| accepted

Storing Outputs from a Nested Loop

some changes: aMax=10; % equal to #of rows bMax=10; % equal to #of colums c=zeros(aMax,bMax); for a=1:aMax % let a...

mer än 7 år ago | 1

can anyone help to solve this matlab error of not enough input arguments?

so... you changed the order of the input arguments again?... you have to decide yourself wether it shall be 1. case f...

mer än 7 år ago | 0

| accepted

How to transfer a string input from GUI to another matlab file for processing

The code can not work because you try to save a variable -> seq_1 that has not been declared. If you name it seq_2 then maybe tr...

mer än 7 år ago | 0

Trying to input data into uitable, but getting error: Data must be a numeric, logical, or cell array

i copied this from the uitable documentation: d = {'Male',52,true;'Male',40,true;'Female',25,false}; t.Data = d; ...

mer än 7 år ago | 0

Where can I get terrain data for a small area?

use <https://de.mathworks.com/help/matlab/ref/reshape.html reshape> the data you will recieve will probably be a 1.000.000 x ...

mer än 7 år ago | 0

How to convert a right handed rotation matrix into a left handed one?

to change the direction of rotation it is enough to transpose the rotation matrix if matrix A rotates clockwise then A' ro...

mer än 7 år ago | 0

difficult inequality to solve

since your function is even it is symmetric and it is monotone for x>0 or x<0 use fzero >> f=@(x)((cos(x)+1./2.*x.^2)-1)...

mer än 7 år ago | 1

| accepted

does anyone has an example of matlab coding for quadratic assignment problem?

<https://de.mathworks.com/matlabcentral/fileexchange/53110-quadratic-assignment-problem--qap--using-ga--pso-and-fa>

mer än 7 år ago | 0

How to compare two matrices in a cell array

use 2 for loops for i=1:n-1 for j=i+1:n % compare whatever you want with cell{i}...cell{j} end ...

mer än 7 år ago | 1

| accepted

I want to plot a simple graph with specific x,y coordinates. I can plot when the y values are integers. But i need to plot values like 9/4. this is my error code Attempted to access y(2.25); index must be a positive integer or logical.

plot([0 1 2 3 4],[2 9/4 38/17 161/72 682/305])

mer än 7 år ago | 0

| accepted

how to add 3 matrices with one dimension same for all and other dimension different?

[rows,col_B]=size(B); [~,col_C]=size(C); result=zeros(rows,col_B*col_C); for i=1:col_B for j=1:col_C ...

mer än 7 år ago | 1

| accepted