photo

Guru


Medtronic

Attivo dal 2013

Followers: 0   Following: 0

Messaggio

Statistica

All
  • Knowledgeable Level 3
  • 5-Star Galaxy Level 1
  • First Submission
  • Knowledgeable Level 2
  • First Answer

Visualizza badge

Feeds

Visto da

Risposto
what happend to my 'deploytool'
Do you have MATLAB Compiler installed? Type VER in the command line and make sure your current MATLAB version sees the MATLAB C...

oltre 11 anni fa | 2

Risposto
Put a % sign inside of an 'edit text' box behind a number in the box
Create a static text box where you put in the % for the string value and position it immediately to the right of the edit text b...

oltre 11 anni fa | 0

Risposto
automatic change a block number in a mask, coming from simulink library, when I drag it more than onetime in my working space
Are you referring to the block name of a block within a masked subsystem that you want to change the name of? If so, no you c...

oltre 11 anni fa | 0

Risposto
How to delete rows/columns of a matrix in Embedded Matlab Fcn?
The Embedded MATLAB Fcn is intended for MATLAB that would resemble C code. How do you suppose you can delete rows/columns from ...

oltre 11 anni fa | 0

Risposto
Create an internal loop in Simulink simulation
The simplest way to implement this is to use Triggered or Function-call subsystems in Simulink driven by Stateflow (for the loop...

oltre 11 anni fa | 0

| accettato

Risposto
FFT-subdivide the frequency range
Without knowing anything about the signal/data you are taking the FFT of, this is impossible. If you think your frequency range...

oltre 11 anni fa | 0

Risposto
Problem with function handle? or something.
Well, from plotting your input-output behavior of your anonymous function gv(), it converges to about the value of R*T. In othe...

oltre 11 anni fa | 0

| accettato

Risposto
How to help Stateflow locate the C-compiler?
If you are having problems after running mex -setup, then the path to the C compiler is incorrect, thus it cannot find the C com...

oltre 11 anni fa | 0

Risposto
what should be the format of .mat file
A .MAT file in MATLAB is a binary file format that MATLAB uses which is a direct copy of its workspace. The recommended way to ...

oltre 11 anni fa | 0

| accettato

Risposto
How to make an if/else statement
FIND with the conditions is actually the way to do this. % First read in your data file into MATLAB, let's say variable A ...

oltre 11 anni fa | 1

| accettato

Risposto
Why is "undefined" a variable that I have previously defined???
For future reference, putting a little MATLAB code down makes things a lot more clear than trying to explain it with words, espe...

oltre 11 anni fa | 0

Risposto
How do I initialize a n * m colormap matrix
Hmm, you do realize that colormap is intended to serve as a link between values of a matrix and what color they should appear as...

oltre 11 anni fa | 0

Risposto
Where to download fuzzy tools for matlab 2013 b
You can either contact your MathWorks sales rep or order it online through MathWorks so that it can be added to your license and...

oltre 11 anni fa | 0

Risposto
Why MATLAB uses the storage of variables in form of Metrics/multi dimentional arrays ?
What you see in the variable editor is based upon how developers thought it to be most intuitive for users to see the variable, ...

oltre 11 anni fa | 0

Risposto
Saving base workspace to .mat file multiple times in GUIDE GUI
Yes it's possible. All you really need is to have a means to choose what to name your MAT-file from your GUI. This can be ...

oltre 11 anni fa | 0

| accettato

Risposto
Fit and Polyfit (LAR vs. Least squares)
You can find out by asking for the output argument: [fitobject,gof,output] = fit(x,y,fitType) output.algorithm But th...

oltre 11 anni fa | 0

| accettato

Inviato


linecount
Counts the number of lines in a text file

oltre 11 anni fa | 1 download |

Risposto
Pre-determining the number of lines in a text file
Just out of boredom, here's a function: function n = linecount(fid) n = 0; tline = fgetl(fid); while ischar(tline)...

oltre 11 anni fa | 9

Risposto
I'm trying to create a code that doing something like this ......
You had the answer, just had to create a variable of the negative values. I am assuming that v = data So just change yo...

oltre 11 anni fa | 0

| accettato

Risposto
Plotting data excel into matlab
Read in the data into matlab using xlsread, then plot them once they are read into the MATLAB workspace doc xlsread doc ...

oltre 11 anni fa | 0

| accettato

Risposto
How to read every nth line with textscan
Honestly what you are trying to do is something that doesn't need textscan to read it in. The benefit that textscan provides is...

oltre 11 anni fa | 3

Risposto
repeating for loop under another for loop
When looking at nested for loops like yours, the first question I always ask is why are you using a for loop to begin with? To ...

oltre 11 anni fa | 0

Risposto
Get multiple indices coinciding closest to a certain value
The code you have is fine, what you have are two minima values that you are seeking. So by breaking up your search points you c...

oltre 11 anni fa | 0

| accettato

Risposto
Mutliple Copies of MATLAB on the same machine -- how to set the default
This is an operating system question/task scheduler question and not a MATLAB question. That being said, simply choose the pr...

oltre 11 anni fa | 0

Risposto
How to stop my "if" statement in a "for" loop
Not clear on your question exactly, but: Q: How to stop an if statement in a for loop? A: Either make the if statement false...

oltre 11 anni fa | 1

| accettato

Risposto
Simple arithmetic calculation question
Well the error is pretty obvious. The following lines is using parenthesis incorrectly: data.Q02=str2double(((datastr(75:8...

oltre 11 anni fa | 0

| accettato

Risposto
Saved data from Matlab gets corrupted?
The reason why it's wrong is explained by Walter Roberson. What you can do to probably get your intended result is to use ...

oltre 11 anni fa | 0

| accettato

Risposto
waitforbuttonpress do not respond to keyboard
Is there a reason you chose to use waitforbuttonpress if you are doing it that frequently?? A much easier and better solution...

oltre 11 anni fa | 1

Risposto
suggestion for sound analysis audio player GUI.
I believe there is (or used to be) a demo in the Signal Processing Toolbox called specgramdemo This should get you a sta...

oltre 11 anni fa | 0

| accettato

Risposto
Simple Code taking too much time
This simply looks to be a case where you are trying to make some result converge to an answer, and the system is not set up to c...

oltre 11 anni fa | 0

Carica altro