Domanda


Question about impositionrect value updates
The code below prints each time the position of the rectangle, but how can i also store that position in a variable? close ...

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Acquiring imrect updated values help
Hi all i was playing with some functions like imrect and impositionrect and i wanted to ask if it is possible in the exapmle ...

circa 12 anni fa | 0 risposte | 1

0

risposte

Domanda


Move a 2D object and track its position through a gui
Hey everyone, i was wondering, is there a way to move a 2D object and track its new position after you have plotted them using y...

circa 12 anni fa | 0 risposte | 0

0

risposte

Domanda


Using text function in a for loop
Hi, what i want to ask is how can i use the text function inside a loop and make it print the number of iterations? like thi...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Stop axes from changing
Hi, i am using the patch tool to create a number of polygons in a plot with a predifined size. Everytime i add a rectangle thoug...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


extract numbers from a char type input
Hi everyone, my question is about how can i seperate the two numbers given by the user in the form "number1,number2" that are st...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Matlab graphical objects (Patch)
Hi everyone, i need a bit help regarding the following situation. I am trying to write a small program that will be able to get ...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Problem writing data to excel.
Hi everyone, i am using this code to write a 21x12 cell into excel function exportexf(dat) namedate1=datestr(now, 1); named...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


Question About bar plot
hello everyone, I wanted to ask if it is possible in a bar plot of lets say 200 items to make one bar red and keep all the other...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Export to .txt file
Hi everyone. I was trying to create a txt file so i can strore some inputs in there. I have a problem though. I save alot of st...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Simulink scope autoscale
Hi everyone, i was wondering if there is a way for a scope i use in a simulink model to automaticaly autoscale. Maybe from addin...

oltre 12 anni fa | 6 risposte | 0

6

risposte

Domanda


Colormaps
Hi everyone, i wasnted to know how can i use imshow to print a matrix "X" using diferent colormaps. X is a [256x512x3] matrix wi...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Simulink and workspace interaction
Hello everyone, i wanted to ask something regarding simulink and workspace interaction. Lets say i have a simple simulink model,...

oltre 12 anni fa | 0 risposte | 0

0

risposte

Domanda


Fuzzy logic
Hey all, i wanted to ask if there is a way to load a .fis struct into simulink automaticaly. Maby through an s-function or somet...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


"exist" command usage question
Hello everyone. I wanted to know if it is possible to use a the "exist" command to check if a directory exists, nomater the user...

oltre 12 anni fa | 2 risposte | 0

2

risposte

Domanda


Simulink and GUI Interaction
Hi everyone, here is the case, i have a simulink model, lets say a PID controller that corrects the water level on a tank. What ...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Add data point to graph
Hi everyone, I wanted to create an application where the user can click in a plot and add his own points, lets say blue and red ...

oltre 12 anni fa | 1 risposta | 0

1

risposta

Domanda


Change button color and text after it is clicked
Hi all, i was wondering if there is a way to change the color and text of a button created with "guide". For example if it is cl...

oltre 12 anni fa | 3 risposte | 1

3

risposte

Domanda


Check if matrix has two identical rows
Hi everyone, I wanted to check if a matrix has two identical rows. But i cant create a code that can do that. I was wondering ...

oltre 12 anni fa | 2 risposte | 1

2

risposte

Domanda


Simulink bit operations
Hi all, I wanted to ask if from a number of bits that are represented with 1 and 0 is possible to invert the ones to -1 each l...

quasi 13 anni fa | 1 risposta | 0

1

risposta

Domanda


Line codes using simulink
Hello everyone I want to create a simulink model that will emulate the ami nrz line code. Can anyone help on how to start??? I ...

quasi 13 anni fa | 1 risposta | 0

1

risposta

Domanda


Gui parts lost
Hey guys, I had created two guis and they where running fine until i tryed to run them on a netbook. Then in one of them the wi...

quasi 13 anni fa | 1 risposta | 0

1

risposta

Domanda


creating an image using a matrix
lets say we have a 50x50 matrix. All of its values are zero. I wanted to create a way to add ones only to those places of the ma...

quasi 13 anni fa | 4 risposte | 1

4

risposte

Domanda


Group string based on charachter
Hi all If i have a string lets say a='1/23s' is there a way to take 1 and 23s seperately on some other variables so i can then ...

quasi 13 anni fa | 2 risposte | 0

2

risposte

Domanda


Ploting analog input in real time
Hey evereyone I have the following code input=analoginput('winsound'); set (input, 'SampleRate', 8000); set (input, 'Sampl...

quasi 13 anni fa | 2 risposte | 0

2

risposte

Domanda


tf object manipulation
Is there a way to print tf object in a gui?

quasi 13 anni fa | 1 risposta | 0

1

risposta

Domanda


Interactive plot
Hi everyone I was wondering, lets say we have a gui that at some point will generate a plot. Is there a way to somehow add the ...

quasi 13 anni fa | 2 risposte | 0

2

risposte

Domanda


Load .mat file from GUI
How can i load a .mat file from a gui and store its contents (3 rows of numbers) into a matrix?

quasi 13 anni fa | 2 risposte | 0

2

risposte

Domanda


Questions about Matlab programming
Hi everyone I have some questions about a matlab .m file i recently downloaded. it starts like classdef name < handle pro...

quasi 13 anni fa | 1 risposta | 0

1

risposta

Domanda


regexp qwestion
Hi everyone i have an exprecion of the type numstrscheck = regexp(TheString, '-?\d+\.?\d*', 'match'); is there a way tha...

quasi 13 anni fa | 1 risposta | 0

1

risposta

Carica altro