Answered
How do I use relational and logical operators to find specific function values?
You can do it without creating z1 and z2. But you can't do it without creating H and V. You have to create your functions outpu...

7 years ago | 1

| accepted

Answered
How to extract columns from cells in a cell array
Could you please try: output(k) = warp(p,q); Because each time your output changes and it overrides your single scalar...

7 years ago | 1

| accepted

Answered
How to do this in Matlab?
Hi Shing I can only recommend you which functions you should look at with their links below: 1) First look at randn funct...

7 years ago | 0

| accepted

Answered
Help on decimal to binary & decimal to hexadecimal
Hi, Use your val without apostrophe, and add apostrophe to case 2. Call your function as an example: simpleConv(5) func...

7 years ago | 0

Answered
Help on decimal to binary & decimal to hexadecimal
case '2' should be corrected with apostrophe

7 years ago | 0

Answered
How can I change the color and border of my bars on a hbar graph?
Hi Brady, if you create your data like below then plot the barh, you will get 3 different colors. (3x3 unit Matrix with yo...

7 years ago | 0

Answered
How convert 3d matrix to 2d matrix?
Hi Ivan Take a look at reshape function it may help you. <https://www.mathworks.com/help/matlab/ref/reshape.html>

7 years ago | 1

Answered
How can I involve options of all choice lists in a row of uitable in matlab GUI ?
Hi Omid, You should be creating your uitable and GUI inherited from the handle class if you want to hold your previous data ...

7 years ago | 0

Answered
How can I define each case of the choice list in a uitable (GUI) and put IF function for each one?
Hi Omid, You can try below this code I have written some commands on it. classdef myuitable < handle ...

7 years ago | 1

| accepted

Answered
How can I define each case of the choice list in a uitable (GUI) and put IF function for each one?
Hi Omid, You can use 'CellEditCallback' or 'CellSelectionCallback'. set(myTable,'CellEditCallback',@cellEdited); set...

7 years ago | 0

Answered
Handling loss of item with diffenrential
I would like to create as follows: V = [1 2 3] % X,Y,Z dv = [0 diff(V)] v1 = V+dv So you can see v1 = [1 3 4]. ...

7 years ago | 0

Answered
how to customize 2D plot lines with shapes?
You can use line specifications with semilogy same as plot. See the details in link below: <https://www.mathworks.com/help/...

7 years ago | 1

Answered
How can i reduce the time that take my code to run?
try parallel for loop instead of your for loop. It took 109 secs in my machine. parfor i=1:length(y) newun=circshift...

7 years ago | 0

Answered
how to find index of matrix if value is known?
[minValue, indexofMin] = min(Kv(:,1)) % for the first column [minValue, indexofMin] = min(Kv) % for all columns

7 years ago | 0