統計
All
Feeds
解決済み
Lightning strike distance: Writing a function
Write a function named LightningDistance that outputs "distance" given input "seconds". Seconds is the time from seeing lightnin...
9年以上 前
解決済み
Make a Palindrome Number
Some numbers like 323 are palindromes. Other numbers like 124 are not. But look what happens when we add that number to a revers...
10年以上 前
解決済み
Pizza value using expression with parentheses
Pizza prices are typically listed by diameter, rather than the more relevant feature of area. Compute a pizza's value (cost per ...
10年以上 前
解決済み
Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.
10年以上 前
解決済み
Fahrenheit to Celsius using multiple statements
Given a Fahrenheit value F, convert to a Celsius value C. While the equation is C = 5/9 * (F - 32), as an exercise use two state...
10年以上 前
解決済み
Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.
10年以上 前
解決済み
Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...
10年以上 前
送信済み
findInPath.m
Tests paths (or any other string) to find if it contains a substring
10年以上 前 | ダウンロード 1 件 |
質問
Is there an equivalent to ismcc for fiaccel?
I'm trying to write code that can be fixed point accelerated, but it does mean making some changes that are not beneficial if I'...
11年弱 前 | 0 件の回答 | 0
0
回答解決済み
Solve the Sudoku Row
*Description* A simple yet tedious task occurs near the end of most Sudoku-solving algorithms, computerized or manual. The ta...
11年以上 前
回答済み
How to read in a text file with data seperated by a colon first, than a comma and than a dash?
Here's a place to start from: str1 = 'HA: 2012-01-08, 11:01:45.802 – FFFF0811111111210208' C = textscan(str1,'%2c:%d...
How to read in a text file with data seperated by a colon first, than a comma and than a dash?
Here's a place to start from: str1 = 'HA: 2012-01-08, 11:01:45.802 – FFFF0811111111210208' C = textscan(str1,'%2c:%d...
11年以上 前 | 1
| 採用済み
質問
R2013a: Where are the improvements? Is TMW even listening?
I would like to get people's feedback on the changes made in 2013a. I find the release notes to be incredibly dissapointing, in...
11年以上 前 | 1 件の回答 | 2
1
回答回答済み
is it faster to load a big file (198MB) once and pass it onto a function in a parfor loop or let the function in parfor loop to load it every iteration?
A few things... 1 it should not take minutes to load a file that's only 200MB, so you may want to look at how you're loading...
is it faster to load a big file (198MB) once and pass it onto a function in a parfor loop or let the function in parfor loop to load it every iteration?
A few things... 1 it should not take minutes to load a file that's only 200MB, so you may want to look at how you're loading...
12年弱 前 | 0
質問
How to make an anonymous function for variable amount of input data
Hi all, I'm trying to generate an anonymous function where I pass in an array of structures and convert it to a structure of ...
12年弱 前 | 2 件の回答 | 1
2
回答回答済み
How to create a structure with a name speficied by user in inputdlg?
Folks, please don't crucify me for this one, but the easiest way I see to do it is: eval([specifiedname '.Course = []']); ...
How to create a structure with a name speficied by user in inputdlg?
Folks, please don't crucify me for this one, but the easiest way I see to do it is: eval([specifiedname '.Course = []']); ...
12年弱 前 | 0
回答済み
How do I make a vector into a loop?
I think I understand... Are you saying that if you have a five element vector A(1:5), then you want A(6) to actually reference ...
How do I make a vector into a loop?
I think I understand... Are you saying that if you have a five element vector A(1:5), then you want A(6) to actually reference ...
12年弱 前 | 0
| 採用済み
回答済み
How do I add an additional object to an image?
Your question isn't very clear. The simplest answer is: hold on %Add additional object hold off
How do I add an additional object to an image?
Your question isn't very clear. The simplest answer is: hold on %Add additional object hold off
12年弱 前 | 0
| 採用済み
回答済み
Speeding up code: pre-allocation, vectorization, parfor, spmd....
Make sure that it is a function and not a script... Huge speed difference there. When you pre-allocate, make sure your allocati...
Speeding up code: pre-allocation, vectorization, parfor, spmd....
Make sure that it is a function and not a script... Huge speed difference there. When you pre-allocate, make sure your allocati...
12年弱 前 | 0
回答済み
What causes variable editor to be blank for OOP (openvar)
Update for anybody who may care... I opened a support case to get some help from TMW on this... While waiting I discovered that ...
What causes variable editor to be blank for OOP (openvar)
Update for anybody who may care... I opened a support case to get some help from TMW on this... While waiting I discovered that ...
12年弱 前 | 0
| 採用済み
質問
What causes variable editor to be blank for OOP (openvar)
Hi, I've got some fairly large OOP classes defined (which are subclasses of another). Sometime recently, I must have changed...
12年弱 前 | 2 件の回答 | 0
2
回答回答済み
GUI with moving marker
A couple of different options: Perhaps the simplest (although not very speed efficient) is to apply a tag to the marker when yo...
GUI with moving marker
A couple of different options: Perhaps the simplest (although not very speed efficient) is to apply a tag to the marker when yo...
約12年 前 | 0
| 採用済み
質問
How to actually view my FEX watch list
I don't know if anybody else is having this problem, but I can't actually view my watch list in FEX. If I go to my file exchang...
約12年 前 | 0 件の回答 | 0
0
回答回答済み
Experiences with release 2012b
I am going to suggest an informal poll to be conducted here. Ultimately TMW will make its decisions based upon how it impacts r...
Experiences with release 2012b
I am going to suggest an informal poll to be conducted here. Ultimately TMW will make its decisions based upon how it impacts r...
約12年 前 | 1
回答済み
Experiences with release 2012b
# When I dock a figure, it makes the figure toolbar virtually useless, since it becomes a tab on ribbon. For me there are a few...
Experiences with release 2012b
# When I dock a figure, it makes the figure toolbar virtually useless, since it becomes a tab on ribbon. For me there are a few...
約12年 前 | 4
解決済み
Right and wrong
Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...
約12年 前
解決済み
Program an exclusive OR operation with logical operators
Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...
約12年 前
解決済み
Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...
約12年 前
解決済み
Make one big string out of two smaller strings
If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...
12年以上 前
解決済み
Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...
12年以上 前